From: Arun Isaac <arunisaac@systemreboot.net>
To: 31123@debbugs.gnu.org
Subject: [bug#31123] [PATCH 2/2] gnu: texlive-bin: Patch texlua shebangs.
Date: Wed, 11 Apr 2018 11:33:13 +0530 [thread overview]
Message-ID: <20180411060313.27912-2-arunisaac@systemreboot.net> (raw)
In-Reply-To: <20180411060313.27912-1-arunisaac@systemreboot.net>
* 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 2b35250dd..35b6b3f8d 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")
(description
"TeX Live provides a comprehensive TeX document production system.
--
2.15.1
next prev parent reply other threads:[~2018-04-11 6:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-11 5:59 [bug#31123] [PATCH 0/2] texlive-bin bug fixes Arun Isaac
2018-04-11 6:03 ` [bug#31123] [PATCH 1/2] gnu: texlive-bin: Use ghostscript executable "gs" in ps2eps Arun Isaac
2018-04-11 6:03 ` Arun Isaac [this message]
2018-04-16 22:08 ` [bug#31123] [PATCH 2/2] gnu: texlive-bin: Patch texlua shebangs Marius Bakke
2018-04-19 17:33 ` Arun Isaac
2018-04-19 17:42 ` Marius Bakke
2018-04-20 19:13 ` bug#31123: " Arun Isaac
2018-04-20 18:45 ` [bug#31123] " Arun Isaac
2018-04-16 22:05 ` [bug#31123] [PATCH 1/2] gnu: texlive-bin: Use ghostscript executable "gs" in ps2eps Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180411060313.27912-2-arunisaac@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=31123@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).