mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
system: More 'file-append' instead of #~(string-append #$thing …).
* gnu/system/shadow.scm (<user-account>)[shell]: Use 'file-append'. (%base-user-accounts): Likewise. * gnu/system/grub.scm (%background-image): Likewise.
This commit is contained in:
parent
ae763b5b0b
commit
357db1f91d
2 changed files with 4 additions and 4 deletions
|
@ -94,8 +94,8 @@ (define-record-type* <grub-theme>
|
|||
(define %background-image
|
||||
(grub-image
|
||||
(aspect-ratio 4/3)
|
||||
(file #~(string-append #$%artwork-repository
|
||||
"/grub/GuixSD-fully-black-4-3.svg"))))
|
||||
(file (file-append %artwork-repository
|
||||
"/grub/GuixSD-fully-black-4-3.svg"))))
|
||||
|
||||
(define %default-theme
|
||||
;; Default theme contributed by Felipe López.
|
||||
|
|
|
@ -84,7 +84,7 @@ (define-record-type* <user-account>
|
|||
(create-home-directory? user-account-create-home-directory? ;Boolean
|
||||
(default #t))
|
||||
(shell user-account-shell ; gexp
|
||||
(default #~(string-append #$bash "/bin/bash")))
|
||||
(default (file-append bash "/bin/bash")))
|
||||
(system? user-account-system? ; Boolean
|
||||
(default #f)))
|
||||
|
||||
|
@ -131,7 +131,7 @@ (define %base-user-accounts
|
|||
(name "nobody")
|
||||
(uid 65534)
|
||||
(group "nogroup")
|
||||
(shell #~(string-append #$shadow "/sbin/nologin"))
|
||||
(shell (file-append shadow "/sbin/nologin"))
|
||||
(home-directory "/nonexistent")
|
||||
(create-home-directory? #f)
|
||||
(system? #t))))
|
||||
|
|
Loading…
Reference in a new issue