From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f68rV-0003a5-Ay for guix-patches@gnu.org; Wed, 11 Apr 2018 02:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f68rS-0000je-2Q for guix-patches@gnu.org; Wed, 11 Apr 2018 02:04:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37724) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f68rR-0000jZ-Uq for guix-patches@gnu.org; Wed, 11 Apr 2018 02:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f68rR-0006v6-NP for guix-patches@gnu.org; Wed, 11 Apr 2018 02:04:01 -0400 Subject: [bug#31123] [PATCH 2/2] gnu: texlive-bin: Patch texlua shebangs. Resent-Message-ID: From: Arun Isaac Date: Wed, 11 Apr 2018 11:33:13 +0530 Message-Id: <20180411060313.27912-2-arunisaac@systemreboot.net> In-Reply-To: <20180411060313.27912-1-arunisaac@systemreboot.net> References: <20180411060313.27912-1-arunisaac@systemreboot.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31123@debbugs.gnu.org * 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