pack: Do not include the host (guix config).

* guix/scripts/pack.scm (store-database)[build]: Import a
synthetic (guix config).
This commit is contained in:
Ludovic Courtès 2020-11-05 16:08:21 +01:00
parent e6934c0429
commit 4db90a6c15
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -137,9 +137,11 @@ (define labels
(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)