[Top][All Lists]

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

02/02: gnu: texlive-bin: Patch texlua shebangs.

From: Arun Isaac
Subject: 02/02: gnu: texlive-bin: Patch texlua shebangs.
Date: Fri, 20 Apr 2018 15:08:51 -0400 (EDT)

arunisaac pushed a commit to branch staging
in repository guix.

commit b02b6f32a56a259873e8368ac0be2aed9eca76aa
Author: Arun Isaac <address@hidden>
Date:   Wed Apr 11 10:34:23 2018 +0530

    gnu: texlive-bin: Patch texlua shebangs.
    * gnu/packages/tex.scm (texlive-bin)[arguments]: Patch texlua shebangs in
    postint phase.
 gnu/packages/tex.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 2b35250..35b6b3f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -206,7 +206,13 @@
                (with-directory-excursion "texlive-extra"
                  (apply unpack (list #:source texlive-extra))
                  (apply patch-source-shebangs (list #:source texlive-extra))
-                 (invoke "mv" "tlpkg" share))))))))
+                 (invoke "mv" "tlpkg" share))
+               ;; texlua shebangs are not patched by the patch-source-shebangs
+               ;; phase because the texlua executable does not exist at that
+               ;; time.
+               (setenv "PATH" (string-append (getenv "PATH") ":" out "/bin"))
+               (with-directory-excursion out
+                 (patch-source-shebangs))))))))
    (synopsis "TeX Live, a package of the TeX typesetting system")
     "TeX Live provides a comprehensive TeX document production system.

reply via email to

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