diff options
author | Christopher Baines <mail@cbaines.net> | 2018-06-22 22:44:12 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-06-24 09:24:26 +0100 |
commit | 5970ceddfaaa449b7224e11d4f6a5f2305408179 (patch) | |
tree | fd2178f61ff37ec0a8f2a3027b08bf5a9cf0ef8a | |
parent | b341a56a7c087561cde7b29300fdae99ee2c697d (diff) | |
download | guix-5970ceddfaaa449b7224e11d4f6a5f2305408179.tar.gz |
pack: Fix guix pack -f 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)) |