~ruther/guix-local

bb20ab942e03cd9309e3ecbef22ea2f2946810db — Philip McGrath 2 years ago bce0fe8
gnu: chez-scheme-for-racket-bootstrap-bootfiles: Remove workaround.

Architecture autodetection in rktboot was fixed upstream, and the fix is
included in racket-backport-8.10-rktboot.patch for Guix. This commit
goes beyond reverting b4fbeae3d90a5d0f8146441772436df2eb471491: the
upstream fix also supports 'pbarch' machine types, so we never need to
supply a '--machine' argument to rktboot.

* gnu/packages/chez.scm (chez-scheme-for-racket-bootstrap-bootfiles)
[arguments]: Change 'build' phase to never use '--machine' for rktboot.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
1 files changed, 1 insertions(+), 7 deletions(-)

M gnu/packages/chez.scm
M gnu/packages/chez.scm => gnu/packages/chez.scm +1 -7
@@ 691,13 691,7 @@ source.")))
                      #~(invoke
                         (search-input-file (or native-inputs inputs)
                                            "/opt/racket-vm/bin/racket")
                         "../rktboot/main.rkt"
                         ;; Temporary handling of builds on non-x86 architectures,
                         ;; see https://github.com/racket/racket/issues/3948
                         ;; Autodetect in rktboot only addresses x86 archs, so far.
                         #$@(let ((m (or (racket-cs-native-supported-system?)
                                         (nix-system->pbarch-machine-type))))
                              #~("--machine" #$m))))))))))))
                         "../rktboot/main.rkt"))))))))))
    (supported-systems
     (package-supported-systems chez-scheme-for-racket))
    (home-page "https://github.com/racket/ChezScheme")