1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-08-07 09:31:30 +02:00

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'.
This commit is contained in:
Ludovic Courtès
2020-04-03 21:51:12 +02:00
parent c1c50cb5b0
commit f7b5b8cd45
+1
View File
@@ -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)))))))))