pack: Honor command-line options related to the store.

* guix/scripts/pack.scm (guix-pack): Call
'set-build-options-from-command-line'.
This commit is contained in:
Ludovic Courtès 2017-03-16 17:31:10 +01:00
parent 146db52a18
commit 2971f39c33
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

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