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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user