[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: pack: Do not include the host (guix config).
From: |
guix-commits |
Subject: |
05/07: pack: Do not include the host (guix config). |
Date: |
Thu, 5 Nov 2020 10:16:00 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 4db90a6c1571eac16f8f304a41e82f576b351a55
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Nov 5 16:08:21 2020 +0100
pack: Do not include the host (guix config).
* guix/scripts/pack.scm (store-database)[build]: Import a
synthetic (guix config).
---
guix/scripts/pack.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 82c40b2..06509ac 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)
- branch master updated (552e9fc -> a5945a6), guix-commits, 2020/11/05
- 01/07: image: Error out when passed an unsupported partition type., guix-commits, 2020/11/05
- 05/07: pack: Do not include the host (guix config).,
guix-commits <=
- 06/07: services: Remove imports of (ice-9 …) modules., guix-commits, 2020/11/05
- 07/07: gnu: chromium: Silent 'local-file' warning., guix-commits, 2020/11/05
- 04/07: shepherd: Remove dependency on (guix utils)., guix-commits, 2020/11/05
- 03/07: gexp: Warn when importing (guix config) or (ice-9 …)., guix-commits, 2020/11/05
- 02/07: gexp: Store the source code location in <gexp>., guix-commits, 2020/11/05