diff options
author | zimoun <zimon.toutoune@gmail.com> | 2022-12-05 16:38:51 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-12-05 22:22:19 +0100 |
commit | 86a2e24cdf353a40206aa5d8a9412163b790d5e3 (patch) | |
tree | 6acd394dea84e17f6f711272683d8661b09ff6b4 | |
parent | 52319edcc41e496bf8952ff9ad17b3e00f428c39 (diff) | |
download | guix-86a2e24cdf353a40206aa5d8a9412163b790d5e3.tar.gz |
gnu: julia-documenter: Fix test suite regression.
* gnu/packages/julia-xyz.scm (julia-documenter)[arguments]<#:phases>: Substitute a work around to fix the change of 'git submodule' default behaviour introduced by Git v2.38.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/julia-xyz.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 28c759a5c0..ac6584825b 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1472,6 +1472,15 @@ valuable enough at this time.") (("pip install") (string-append (search-input-file inputs "bin/pip") " install"))))) + (add-after 'link-depot 'fix-test-git-submodule + ;; Git v2.38.1 fixes security issues and changes the default + ;; behaviour of `git submodule`. This substitution is a backport + ;; of the upstream patch, not yet released, fixing the test suite. + ;; https://github.com/JuliaDocs/Documenter.jl/commit/b5a5c65d02d136743e7c18ffebf8baba900484fc + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "test/utilities.jl" + (("submodule add") + "-c protocol.file.allow=always submodule add")))) (add-after 'link-depot 'remove-javascript-downloads (lambda _ (substitute* "src/Writers/HTMLWriter.jl" |