summaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-22 22:44:12 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-24 09:24:26 +0100
commit5970ceddfaaa449b7224e11d4f6a5f2305408179 (patch)
treefd2178f61ff37ec0a8f2a3027b08bf5a9cf0ef8a /guix/scripts
parentb341a56a7c087561cde7b29300fdae99ee2c697d (diff)
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.
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/pack.scm4
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))