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.master
parent
ae763b5b0b
commit
357db1f91d
|
@ -94,7 +94,7 @@ denoting a file name."
|
|||
(define %background-image
|
||||
(grub-image
|
||||
(aspect-ratio 4/3)
|
||||
(file #~(string-append #$%artwork-repository
|
||||
(file (file-append %artwork-repository
|
||||
"/grub/GuixSD-fully-black-4-3.svg"))))
|
||||
|
||||
(define %default-theme
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
(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 @@
|
|||
(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))))
|
||||
|
|
Reference in New Issue