aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts/pack.scm
diff options
context:
space:
mode:
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)))