guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: 05/12: pack: Honor command-line options related to the store.
Date: Thu, 16 Mar 2017 18:04:24 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 2971f39c3330a69f44d1ac97443e42b0f8e0173e
Author: Ludovic Courtès <address@hidden>
Date:   Thu Mar 16 17:31:10 2017 +0100

    pack: Honor command-line options related to the store.
    
    * guix/scripts/pack.scm (guix-pack): Call
    'set-build-options-from-command-line'.
---
 guix/scripts/pack.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 067b122..e422b3c 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]