summaryrefslogtreecommitdiff
path: root/gnu/packages/chez.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-10-01 11:57:13 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-10-02 15:54:38 +0300
commit6590f5c5cd30c4dcdb4309b1a7884cd9d0a4ae4d (patch)
treec0eb295d0ca2344556442b87650465c0ea0412ec /gnu/packages/chez.scm
parenta47d7af2273c2dbb5376e776b34e78a9146abbfe (diff)
gnu: chez-scheme-for-racket-bootstrap-bootfiles: Force correct system.
* gnu/packages/chez.scm (chez-scheme-for-racket-bootstrap-bootfiles) [arguments]: Adjust the 'build phase to ensure we're building for the correct system. Change-Id: Ied1861534707afbe00386ae83e95eb305bd0b5b8
Diffstat (limited to 'gnu/packages/chez.scm')
-rw-r--r--gnu/packages/chez.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index 66e57954eb7..45d2b526d4e 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -610,6 +610,11 @@ with reliability taking precedence over efficiency if necessary.")
610 (else 610 (else
611 ;; bootstrapping 611 ;; bootstrapping
612 #~(lambda* (#:key native-inputs inputs #:allow-other-keys) 612 #~(lambda* (#:key native-inputs inputs #:allow-other-keys)
613 ;; Make sure we're building for the correct machine type.
614 (setenv "MACH"
615 #$@(if (nix-system->native-chez-machine-type)
616 #~(#$(nix-system->native-chez-machine-type))
617 #~(#$(nix-system->pbarch-machine-type))))
613 (invoke 618 (invoke
614 (search-input-file (or native-inputs inputs) 619 (search-input-file (or native-inputs inputs)
615 "/opt/racket-vm/bin/racket") 620 "/opt/racket-vm/bin/racket")