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:
parent
146db52a18
commit
2971f39c33
|
@ -284,6 +284,9 @@ Create a bundle of PACKAGE.\n"))
|
||||||
(symlinks (assoc-ref opts 'symlinks))
|
(symlinks (assoc-ref opts 'symlinks))
|
||||||
(localstatedir? (assoc-ref opts 'localstatedir?)))
|
(localstatedir? (assoc-ref opts 'localstatedir?)))
|
||||||
(with-store store
|
(with-store store
|
||||||
|
;; Set the build options before we do anything else.
|
||||||
|
(set-build-options-from-command-line store opts)
|
||||||
|
|
||||||
(run-with-store store
|
(run-with-store store
|
||||||
(mlet* %store-monad ((profile (profile-derivation
|
(mlet* %store-monad ((profile (profile-derivation
|
||||||
(packages->manifest packages)))
|
(packages->manifest packages)))
|
||||||
|
|
Loading…
Reference in New Issue