aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-12-08 12:02:30 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-12-08 19:53:38 +0200
commit61cbc51a7846242f628ec58f8709e8b9f5dc82f0 (patch)
treed133890d891eeb9165e5cff96e5176b875cfac44 /gnu
parentd896a4d2ff1ffd7a5a41c41509f9516ddf7c1934 (diff)
downloadguix-61cbc51a7846242f628ec58f8709e8b9f5dc82f0.tar.gz
guix-61cbc51a7846242f628ec58f8709e8b9f5dc82f0.zip
gnu: julia-compat: Fix test suite.
* gnu/packages/julia-xyz.scm (julia-compat)[arguments]: Add phase to patch shell invocation.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/julia-xyz.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index ac6584825b..dc4347dd55 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -989,6 +989,14 @@ common subexpression elimination.")
(sha256
(base32 "0qzvaqi5gqgc747fnajbvvf5vqbh6cwykwky00c7glvmvdsgk3z0"))))
(build-system julia-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-shell-invocation
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "test/runtests.jl"
+ (("shcmd = `sh`") (string-append "shcmd = `" (which "sh") "`"))))))))
(home-page "https://github.com/JuliaLang/Compat.jl")
(synopsis "Compatibility across Julia versions")
(description "The Compat package is designed to ease interoperability