mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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:
parent
3e85909044
commit
ecb0df6817
1 changed files with 4 additions and 2 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue