guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: julia-documenter: Fix test suite regression.


From: guix-commits
Subject: 01/05: gnu: julia-documenter: Fix test suite regression.
Date: Tue, 6 Dec 2022 04:27:19 -0500 (EST)

civodul pushed a commit to branch version-1.4.0
in repository guix.

commit e692cb6035d29bd44b950d20c03200c4677ff1a2
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Mon Dec 5 16:38:51 2022 +0100

    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>
---
 gnu/packages/julia-xyz.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]