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:24:38 +0100 |
| commit | e692cb6035d29bd44b950d20c03200c4677ff1a2 (patch) | |
| tree | ca4a41bae8ad56e77086899f51f94a642675821d /gnu | |
| parent | 241772d5c068fb7c4fa69d4673174254742eb410 (diff) | |
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>
Diffstat (limited to 'gnu')
| -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 28c759a5c0c..ac6584825bf 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm | |||
| @@ -1472,6 +1472,15 @@ valuable enough at this time.") | |||
| 1472 | (("pip install") | 1472 | (("pip install") |
| 1473 | (string-append (search-input-file inputs "bin/pip") | 1473 | (string-append (search-input-file inputs "bin/pip") |
| 1474 | " install"))))) | 1474 | " install"))))) |
| 1475 | (add-after 'link-depot 'fix-test-git-submodule | ||
| 1476 | ;; Git v2.38.1 fixes security issues and changes the default | ||
| 1477 | ;; behaviour of `git submodule`. This substitution is a backport | ||
| 1478 | ;; of the upstream patch, not yet released, fixing the test suite. | ||
| 1479 | ;; https://github.com/JuliaDocs/Documenter.jl/commit/b5a5c65d02d136743e7c18ffebf8baba900484fc | ||
| 1480 | (lambda* (#:key inputs #:allow-other-keys) | ||
| 1481 | (substitute* "test/utilities.jl" | ||
| 1482 | (("submodule add") | ||
| 1483 | "-c protocol.file.allow=always submodule add")))) | ||
| 1475 | (add-after 'link-depot 'remove-javascript-downloads | 1484 | (add-after 'link-depot 'remove-javascript-downloads |
| 1476 | (lambda _ | 1485 | (lambda _ |
| 1477 | (substitute* "src/Writers/HTMLWriter.jl" | 1486 | (substitute* "src/Writers/HTMLWriter.jl" |
