mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
pack: Don't export properties when SAVE-PROVENANCE is not set.
* guix/scripts/pack.scm (guix-pack): Don't export properties when SAVE-PROVENANCE is not set. Change-Id: I956721d1238631451758057a7c9cf13e2da7c59a Signed-off-by: Ludovic Courtès <ludo@gnu.org> Modified-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
cbe9eb7c15
commit
a9d7423644
1 changed files with 4 additions and 1 deletions
|
@ -1749,7 +1749,10 @@ Create a bundle of PACKAGE.\n"))
|
||||||
(load* file user-module)))
|
(load* file user-module)))
|
||||||
manifests)))
|
manifests)))
|
||||||
(else
|
(else
|
||||||
(packages->manifest packages))))))
|
(packages->manifest packages
|
||||||
|
#:properties (if (assoc-ref opts 'save-provenance?)
|
||||||
|
default-package-properties
|
||||||
|
(const '()))))))))
|
||||||
|
|
||||||
(define (process-file-arg opts name)
|
(define (process-file-arg opts name)
|
||||||
;; Validate that the file exists and return it as a <local-file> object,
|
;; Validate that the file exists and return it as a <local-file> object,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue