3
4
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01: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
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

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)))))))))