[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/15: guix home: import: Don’t use 'slurp-file-gexp'.
From: |
guix-commits |
Subject: |
04/15: guix home: import: Don’t use 'slurp-file-gexp'. |
Date: |
Sat, 30 Oct 2021 18:52:33 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e12e8aad35e734fe2c4a0a54e9c6bc91eedf921d
Author: Xinglu Chen <public@yoctocell.xyz>
AuthorDate: Sat Oct 30 12:42:35 2021 +0200
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>
---
guix/scripts/home/import.scm | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/guix/scripts/home/import.scm b/guix/scripts/home/import.scm
index f20088a..0e7c454 100644
--- a/guix/scripts/home/import.scm
+++ b/guix/scripts/home/import.scm
@@ -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)
- branch master updated (cf0abb6 -> c4ac8cf), guix-commits, 2021/10/30
- 10/15: home: import: Clarify "destination directory"., guix-commits, 2021/10/30
- 04/15: guix home: import: Don’t use 'slurp-file-gexp'.,
guix-commits <=
- 13/15: doc: Mention "guix home import" upfront., guix-commits, 2021/10/30
- 12/15: home: import: Avoid duplication of 'manifest->code'., guix-commits, 2021/10/30
- 14/15: doc: Avoid misuse of @ref., guix-commits, 2021/10/30
- 08/15: guix home: import: Call ‘local-file’ with ‘name’, guix-commits, 2021/10/30
- 05/15: guix home: import: Delete duplicate modules when importing., guix-commits, 2021/10/30
- 01/15: guix home: import: Make the user to specify a destination directory., guix-commits, 2021/10/30
- 03/15: guix home: import: Fix module name for Bash service., guix-commits, 2021/10/30
- 09/15: home: import: Compare procedures with 'eq?'., guix-commits, 2021/10/30
- 06/15: doc: Document the ‘guix home import’ subcommand., guix-commits, 2021/10/30
- 07/15: Add tests for ‘guix home import’., guix-commits, 2021/10/30