From c9484c9c9944f65a69cf6182caf442d9285f3a65 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 18 Aug 2021 12:07:33 +0300 Subject: [PATCH] gnu: julia: Fix building. * gnu/packages/julia.scm (julia)[arguments]: Adjust 'adjust-test-suite phase to account for newer package versions. --- gnu/packages/julia.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index 1ede2b0d57..636bdc57c1 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -460,6 +460,8 @@ (define-public julia (let ((pcre2 (assoc-ref inputs "pcre2")) (mbedtls-apache (assoc-ref inputs "mbedtls")) (mpfr (assoc-ref inputs "mpfr")) + (gmp (assoc-ref inputs "gmp")) + (nghttp2 (assoc-ref inputs "libnghttp2")) (suitesparse (assoc-ref inputs "suitesparse"))) ;; Some tests only check to see if the input is the correct version. (substitute* "stdlib/PCRE2_jll/test/runtests.jl" @@ -468,6 +470,10 @@ (define-public julia (("2.24.0") ,(package-version mbedtls-apache))) (substitute* "stdlib/MPFR_jll/test/runtests.jl" (("4.1.0") ,(package-version mpfr))) + (substitute* "stdlib/GMP_jll/test/runtests.jl" + (("6.2.0") ,(package-version gmp))) + (substitute* "stdlib/nghttp2_jll/test/runtests.jl" + (("1.41.0") ,(package-version nghttp2))) (substitute* "stdlib/SuiteSparse_jll/test/runtests.jl" (("5004") ,(string-replace-substring (version-major+minor