guix-commits
[Top][All Lists]
Advanced

[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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]