[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: pack: Pass the cross-compilation target to 'run-with-store'.
From: |
guix-commits |
Subject: |
01/02: pack: Pass the cross-compilation target to 'run-with-store'. |
Date: |
Fri, 3 Apr 2020 17:10:41 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f7b5b8cd45b4560b3473dde2e6f6f20b4ff9daff
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri Apr 3 21:51:12 2020 +0200
pack: Pass the cross-compilation target to 'run-with-store'.
This ensures '%current-target-system' is correctly bound upfront, which
some packages rely on.
* guix/scripts/pack.scm (guix-pack): Pass #:target to 'run-with-store'.
---
guix/scripts/pack.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index f641f53..6d63fb4 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -1128,4 +1128,5 @@ to your package list.")))
gc-root))
(return (format #t "~a~%"
(derivation->output-path drv))))))
+ #:target target
#:system (assoc-ref opts 'system)))))))))