gnu: guix: Fix test suite on riscv64-linux.

* gnu/packages/package-management.scm (guix)[arguments]: Add phase when
building for riscv64-linux to adjust the test suite.
This commit is contained in:
Efraim Flashner 2022-03-21 09:14:43 +02:00
parent ba6f593285
commit 91bbed89b5
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -239,6 +239,12 @@ $(prefix)/etc/init.d\n")))
$(prefix)/etc/openrc\n")))
(invoke "sh" "bootstrap")))
,@(if (target-riscv64?)
`((add-after 'unpack 'use-correct-guile-version-for-tests
(lambda _
(substitute* "tests/gexp.scm"
(("2\\.0") "3.0")))))
'())
(add-before 'build 'use-host-compressors
(lambda* (#:key inputs target #:allow-other-keys)
(when target