summaryrefslogtreecommitdiff
path: root/guix/scripts/pack.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-16 17:31:10 +0100
committerLudovic Courtès <ludo@gnu.org>2017-03-16 22:50:15 +0100
commit2971f39c3330a69f44d1ac97443e42b0f8e0173e (patch)
tree596561ab0934b3a0ded06c1317fb703de920c924 /guix/scripts/pack.scm
parent146db52a188b871769d9512867aa7f409f37dbac (diff)
pack: Honor command-line options related to the store.
* guix/scripts/pack.scm (guix-pack): Call 'set-build-options-from-command-line'.
Diffstat (limited to 'guix/scripts/pack.scm')
-rw-r--r--guix/scripts/pack.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 067b1227e0..e422b3cdda 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -284,6 +284,9 @@ Create a bundle of PACKAGE.\n"))
(symlinks (assoc-ref opts 'symlinks))
(localstatedir? (assoc-ref opts 'localstatedir?)))
(with-store store
+ ;; Set the build options before we do anything else.
+ (set-build-options-from-command-line store opts)
+
(run-with-store store
(mlet* %store-monad ((profile (profile-derivation
(packages->manifest packages)))