guix-commits
[Top][All Lists]
Advanced

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

101/137: gnu: texlive-newverbs: Do not create origin for "ydocstrip.tex"


From: guix-commits
Subject: 101/137: gnu: texlive-newverbs: Do not create origin for "ydocstrip.tex".
Date: Mon, 24 Jun 2024 18:27:20 -0400 (EDT)

ngz pushed a commit to branch tex-team
in repository guix.

commit c6e8cc2a78cbbca92327d0ecc2a68206f54cb456
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jun 21 23:53:02 2024 +0200

    gnu: texlive-newverbs: Do not create origin for "ydocstrip.tex".
    
    * gnu/packages/tex.scm (texlive-newverbs)[native-inputs]:  Remove <origin>
    pointing to "ydocstrip.tex".  Grab it from TEXLIVE-YDOC's source instead.
    
    Change-Id: I730a34e0e8aaca8a50262d16c05ad4161f068fa0
---
 gnu/packages/tex.scm | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 28792b33f3..bd50706fb4 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -64560,23 +64560,12 @@ Unicode option of @code{inputenc} or @code{inputenx}, 
or by XeLaTeX/LuaLaTeX.")
             ;; a propagated input).  To work around this, install the specific
             ;; "ydocstrip.tex" file from `ydoc' in the build directory and set
             ;; TEXINPUTS variable accordingly so the process can find it.
-            (lambda* (#:key inputs #:allow-other-keys)
-              (install-file (search-input-file inputs
+            (lambda* (#:key inputs native-inputs #:allow-other-keys)
+              (install-file (search-input-file (or native-inputs inputs)
                                                
"tex/generic/ydoc/ydocstrip.tex")
                             "build/")
               (setenv "TEXINPUTS" (string-append (getcwd) "/build:")))))))
-    (native-inputs
-     (list
-      (origin
-        (method svn-multi-fetch)
-        (uri (svn-multi-reference
-              (url (texlive-packages-repository version))
-              (revision 66594)
-              (locations (list "tex/generic/ydoc/ydocstrip.tex"))))
-        (file-name (git-file-name name version))
-        (sha256
-         (base32
-          "1nixgvmw8c6jznhxys3yfzr3qw1lci8kyx54rs0shm6i63xjgr9i")))))
+    (native-inputs (list (package-source texlive-ydoc)))
     (home-page "https://ctan.org/pkg/newverbs";)
     (synopsis "Define new versions of @code{\\verb}")
     (description



reply via email to

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