gnu: go-github-com-protonmail-go-crypto: Fix build on riscv64-linux.

* gnu/packages/golang-crypto.scm (go-github-com-protonmail-go-crypto)
[arguments]: When building for riscv64-linux skip a test.

Change-Id: Ibc62d37a6187bbeb5d251f10980d0fdd1c5240dd
This commit is contained in:
Efraim Flashner 2025-06-27 16:53:33 +03:00
parent bc658eb0f0
commit 5e0cf0d25e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4,7 +4,7 @@
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org> ;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020, 2022 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2020, 2022, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021 BonfaceKilz <me@bonfacemunyoki.com> ;;; Copyright © 2021 BonfaceKilz <me@bonfacemunyoki.com>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca> ;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
@ -2192,6 +2192,11 @@ done by Marc Stevens and Dan Shumow, and can be found at:
(arguments (arguments
(list (list
#:import-path "github.com/ProtonMail/go-crypto" #:import-path "github.com/ProtonMail/go-crypto"
#:test-flags
(if (target-riscv64?)
;; This test times out on riscv64-linux.
#~(list "-skip" "TestEndToEnd")
#~'())
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'build)))) ; no go files in project's root (delete 'build)))) ; no go files in project's root