installer: Ensure 'packages' field is a superset of '%base-packages'.

Fixes <https://bugs.gnu.org/35541>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/installer/services.scm (system-services->configuration): Generate
a snippet that appends PACKAGES to %BASE-PACKAGES.
This commit is contained in:
Ludovic Courtès 2019-05-03 13:44:15 +02:00
parent 3e85909044
commit ecb0df6817
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -130,11 +130,13 @@ (define (system-services->configuration services)
(if (null? snippets)
`(,@(if (null? packages)
'()
`((packages (list ,@packages))))
`((packages (append (list ,@packages)
%base-packages))))
(services ,base))
`(,@(if (null? packages)
'()
`((packages (list ,@packages))))
`((packages (append (list ,@packages)
%base-packages))))
(services (append (list ,@snippets
,@(if desktop?