mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +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:
parent
c1c50cb5b0
commit
f7b5b8cd45
1 changed files with 1 additions and 0 deletions
|
@ -1128,4 +1128,5 @@ (define (lookup-package package)
|
|||
gc-root))
|
||||
(return (format #t "~a~%"
|
||||
(derivation->output-path drv))))))
|
||||
#:target target
|
||||
#:system (assoc-ref opts 'system)))))))))
|
||||
|
|
Loading…
Reference in a new issue