diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-03-16 17:31:10 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-16 22:50:15 +0100 |
commit | 2971f39c3330a69f44d1ac97443e42b0f8e0173e (patch) | |
tree | 596561ab0934b3a0ded06c1317fb703de920c924 /guix/scripts | |
parent | 146db52a188b871769d9512867aa7f409f37dbac (diff) | |
download | gnu-guix-2971f39c3330a69f44d1ac97443e42b0f8e0173e.tar gnu-guix-2971f39c3330a69f44d1ac97443e42b0f8e0173e.tar.gz |
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')
-rw-r--r-- | guix/scripts/pack.scm | 3 |
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))) |