diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-11-05 16:08:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-05 16:13:50 +0100 |
commit | 4db90a6c1571eac16f8f304a41e82f576b351a55 (patch) | |
tree | 0ff67cf346a480213853259ab51aee3b40a9e694 /guix/scripts/pack.scm | |
parent | e6934c0429ed94c9d9e61f81520d11153bbb3f64 (diff) |
pack: Do not include the host (guix config).
* guix/scripts/pack.scm (store-database)[build]: Import a
synthetic (guix config).
Diffstat (limited to 'guix/scripts/pack.scm')
-rw-r--r-- | guix/scripts/pack.scm | 8 |
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) |