diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-03 21:51:12 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-04-03 23:06:43 +0200 |
commit | f7b5b8cd45b4560b3473dde2e6f6f20b4ff9daff (patch) | |
tree | b636a3de34ceaf1f7226ebc789c95e8b5927966b | |
parent | c1c50cb5b099897a18e4cd8c27970cb45a7c3a94 (diff) | |
download | guix-f7b5b8cd45b4560b3473dde2e6f6f20b4ff9daff.tar.gz |
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'.
-rw-r--r-- | guix/scripts/pack.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm index f641f535b9..6d63fb4b90 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))))))))) |