aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-05 16:08:21 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-05 16:13:50 +0100
commit4db90a6c1571eac16f8f304a41e82f576b351a55 (patch)
tree0ff67cf346a480213853259ab51aee3b40a9e694
parente6934c0429ed94c9d9e61f81520d11153bbb3f64 (diff)
downloadguix-4db90a6c1571eac16f8f304a41e82f576b351a55.tar
guix-4db90a6c1571eac16f8f304a41e82f576b351a55.tar.gz
pack: Do not include the host (guix config).
* guix/scripts/pack.scm (store-database)[build]: Import a synthetic (guix config).
-rw-r--r--guix/scripts/pack.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 82c40b247c..06509ace2d 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -137,9 +137,11 @@ dependencies are registered."
(define build
(with-extensions gcrypt-sqlite3&co
- (with-imported-modules (source-module-closure
- '((guix build store-copy)
- (guix store database)))
+ (with-imported-modules `(((guix config) => ,(make-config.scm))
+ ,@(source-module-closure
+ '((guix build store-copy)
+ (guix store database))
+ #:select? not-config?))
#~(begin
(use-modules (guix store database)
(guix build store-copy)