me
/
guix
Archived
1
0
Fork 0

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'.
master
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
1 changed files with 1 additions and 0 deletions

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