mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-08 03:59:40 +01:00
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
This commit is contained in:
parent
a47d7af227
commit
6590f5c5cd
1 changed files with 5 additions and 0 deletions
|
@ -610,6 +610,11 @@ with reliability taking precedence over efficiency if necessary.")
|
||||||
(else
|
(else
|
||||||
;; bootstrapping
|
;; bootstrapping
|
||||||
#~(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
#~(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
|
(invoke
|
||||||
(search-input-file (or native-inputs inputs)
|
(search-input-file (or native-inputs inputs)
|
||||||
"/opt/racket-vm/bin/racket")
|
"/opt/racket-vm/bin/racket")
|
||||||
|
|
Loading…
Add table
Reference in a new issue