guix home: import: Don’t use 'slurp-file-gexp'.
‘slurp-file-gexp’ is not a bound procedure. * guix/scripts/home/import.scm (generate-bash-configuration+modules): Don’t use ‘slurp-file-gexp’. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
3be1a982f3
commit
e12e8aad35
|
@ -47,24 +47,19 @@
|
|||
(home-bash-configuration
|
||||
,@(if (file-exists? rc)
|
||||
`((bashrc
|
||||
(list (slurp-file-gexp
|
||||
(local-file ,rc)))))
|
||||
(list (local-file ,rc))))
|
||||
'())
|
||||
,@(if (file-exists? profile)
|
||||
`((bash-profile
|
||||
(list (slurp-file-gexp
|
||||
(local-file ,profile)))))
|
||||
(list (local-file ,profile))))
|
||||
'())
|
||||
,@(if (file-exists? logout)
|
||||
`((bash-logout
|
||||
(list (slurp-file-gexp
|
||||
(local-file ,logout)))))
|
||||
(list (local-file ,logout))))
|
||||
'())))
|
||||
(guix gexp)
|
||||
(gnu home services shells))))
|
||||
|
||||
|
||||
|
||||
(define %files+configurations-alist
|
||||
`((".bashrc" . ,generate-bash-configuration+modules)
|
||||
(".bash_profile" . ,generate-bash-configuration+modules)
|
||||
|
|
Reference in New Issue