diff options
Diffstat (limited to 'gnu/packages/chez.scm')
-rw-r--r-- | gnu/packages/chez.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index 66e57954eb..45d2b526d4 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm @@ -610,6 +610,11 @@ with reliability taking precedence over efficiency if necessary.") (else ;; bootstrapping #~(lambda* (#:key native-inputs inputs #:allow-other-keys) + ;; Make sure we're building for the correct machine type. + (setenv "MACH" + #$@(if (nix-system->native-chez-machine-type) + #~(#$(nix-system->native-chez-machine-type)) + #~(#$(nix-system->pbarch-machine-type)))) (invoke (search-input-file (or native-inputs inputs) "/opt/racket-vm/bin/racket") |