mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
installer: Add comment above the 'packages' field.
* gnu/installer/services.scm (system-services->configuration): Add heading above the 'packages' field. Rename 'heading' to 'service-heading'.
This commit is contained in:
parent
82bde985f4
commit
8c7ea71344
1 changed files with 14 additions and 7 deletions
|
@ -159,25 +159,32 @@ (define (system-services->configuration services)
|
|||
(base (if desktop?
|
||||
'%desktop-services
|
||||
'%base-services))
|
||||
(heading (list (vertical-space 1)
|
||||
(comment (G_ "\
|
||||
(service-heading (list (vertical-space 1)
|
||||
(comment (G_ "\
|
||||
;; Below is the list of system services. To search for available
|
||||
;; services, run 'guix system search KEYWORD' in a terminal.\n")))))
|
||||
;; services, run 'guix system search KEYWORD' in a terminal.\n"))))
|
||||
(package-heading (list (vertical-space 1)
|
||||
(comment (G_ "\
|
||||
;; Packages installed system-wide. Users can also install packages
|
||||
;; under their own account: use 'guix search KEYWORD' to search
|
||||
;; for packages and 'guix install PACKAGE' to install a package.\n")))))
|
||||
|
||||
(if (null? snippets)
|
||||
`(,@(if (null? packages)
|
||||
'()
|
||||
`((packages (append (list ,@packages)
|
||||
`(,@package-heading
|
||||
(packages (append (list ,@packages)
|
||||
%base-packages))))
|
||||
|
||||
,@heading
|
||||
,@service-heading
|
||||
(services ,base))
|
||||
`(,@(if (null? packages)
|
||||
'()
|
||||
`((packages (append (list ,@packages)
|
||||
`(,@package-heading
|
||||
(packages (append (list ,@packages)
|
||||
%base-packages))))
|
||||
|
||||
,@heading
|
||||
,@service-heading
|
||||
(services (append (list ,@snippets
|
||||
|
||||
,@(if desktop?
|
||||
|
|
Loading…
Reference in a new issue