diff options
author | Christopher Baines <mail@cbaines.net> | 2018-06-22 22:44:12 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-06-22 22:44:12 +0100 |
commit | 91b7bc84674aeae6de926c2f1761ce99bc550035 (patch) | |
tree | ba35c1a3d10368fe11a9b466b8b669ed726a2fcb | |
parent | 5ca5ab8ba7a37afb15b48cfe1b2c72870cd88b4c (diff) | |
download | guix-fix-guix-pack-docker.tar guix-fix-guix-pack-docker.tar.gz |
pack: Fix guix pack -f docker.fix-guix-pack-docker
Without this change, running guix pack fails as (guix sets) is missing when
compiling (guix build store-copy).
* guix/scripts/pack.scm (docker-image): Move (guix build store-copy) to within
the source-module-closure call.
-rw-r--r-- | guix/scripts/pack.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm index ed876b2592..443d199be5 100644 --- a/guix/scripts/pack.scm +++ b/guix/scripts/pack.scm @@ -364,9 +364,9 @@ the image." (define build ;; Guile-JSON is required by (guix docker). (with-extensions (list json) - (with-imported-modules `(,@(source-module-closure '((guix docker)) + (with-imported-modules `(,@(source-module-closure '((guix docker) + (guix build store-copy)) #:select? not-config?) - (guix build store-copy) ((guix config) => ,config)) #~(begin (use-modules (guix docker) (srfi srfi-19) (guix build store-copy)) |