me
/
guix
Archived
1
0
Fork 0

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
Ludovic Courtès 2017-02-01 12:30:56 +01:00
parent ae763b5b0b
commit 357db1f91d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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))))