diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-03-21 09:14:43 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-03-21 09:15:36 +0200 |
commit | 91bbed89b52eb64ee2388bf58be44eb5ae6a9dbb (patch) | |
tree | 4d72ed7e44ad17c704b8468dfa6f631bd72d6908 /gnu | |
parent | ba6f59328558d756df5f7675cb690d80815eb1d8 (diff) |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/package-management.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index d2bffa3f97..491423d41e 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -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 |