1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 23:05:57 +02:00

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
+6
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