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.
This commit is contained in:
Christopher Baines 2018-06-22 22:44:12 +01:00
parent b341a56a7c
commit 5970ceddfa
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 2 additions and 2 deletions

View File

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