aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2021-12-01 16:54:40 +0100
committerEfraim Flashner <efraim@flashner.co.il>2021-12-04 19:50:32 +0200
commiteb4f1fcf7435b30662d3982ff83d97d2ebaee2e8 (patch)
tree7c21874671c76526df34f7ee2b22bd067720b7a5 /gnu/packages
parentafd35e8e9c3eebda332f6c86809c733ea5003786 (diff)
downloadguix-eb4f1fcf7435b30662d3982ff83d97d2ebaee2e8.tar.gz
guix-eb4f1fcf7435b30662d3982ff83d97d2ebaee2e8.zip
gnu: julia-structarrays: Fix tests on i686-linux.
* gnu/packages/julia-xyz.scm (julia-structarrays)[arguments]<#:phases>: Conditionally replace the incorrect type in the test suite. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/julia-xyz.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index aa9bbe1c1a..a757e5ff49 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4601,6 +4601,16 @@ applied to any distance.")
(sha256
(base32 "0rjcpyjwzg70n87q5r9c5i1qzigavncslxssm3rk5a3y549py56v"))))
(build-system julia-build-system)
+ (arguments
+ `(#:phases
+ ,@(if (target-64bit?)
+ '(%standard-phases)
+ '((modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests-int32-i686
+ (lambda _
+ (substitute* '("src/utils.jl"
+ "test/runtests.jl")
+ (("Int64") "Int32")))))))))
(propagated-inputs
`(("julia-dataapi" ,julia-dataapi)
("julia-staticarrays" ,julia-staticarrays)