~ruther/guix-local

2971f39c3330a69f44d1ac97443e42b0f8e0173e — Ludovic Courtès 9 years ago 146db52
pack: Honor command-line options related to the store.

* guix/scripts/pack.scm (guix-pack): Call
'set-build-options-from-command-line'.
1 files changed, 3 insertions(+), 0 deletions(-)

M guix/scripts/pack.scm
M guix/scripts/pack.scm => guix/scripts/pack.scm +3 -0
@@ 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)))