From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8CJ9-0002kY-Qu for guix-patches@gnu.org; Mon, 16 Apr 2018 18:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8CJ4-0004vV-Hm for guix-patches@gnu.org; Mon, 16 Apr 2018 18:09:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8CJ4-0004uh-98 for guix-patches@gnu.org; Mon, 16 Apr 2018 18:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8CJ4-0008UN-25 for guix-patches@gnu.org; Mon, 16 Apr 2018 18:09:02 -0400 Subject: [bug#31123] [PATCH 2/2] gnu: texlive-bin: Patch texlua shebangs. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20180411060313.27912-2-arunisaac@systemreboot.net> References: <20180411060313.27912-1-arunisaac@systemreboot.net> <20180411060313.27912-2-arunisaac@systemreboot.net> Date: Tue, 17 Apr 2018 00:08:16 +0200 Message-ID: <87muy2dctr.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: Arun Isaac , 31123@debbugs.gnu.org --=-=-= Content-Type: text/plain Arun Isaac writes: > * gnu/packages/tex.scm (texlive-bin)[arguments]: Patch texlua shebangs in > postint phase. [...] > (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)))))))) Would it suffice to only patch "out/bin" here? Also, what is the return value of (patch-source-shebangs)? If it's anything other than #t, you know what to do. Apart from that LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrVHtAACgkQoqBt8qM6 VPqrtQf/Xhi8EeDln+1G7IzbKOQOGo2e9Q1rNYiVeMDm2pjOB6szapkQ9NmAIjCt faAuNqguiAYKqVzkNmr074/7RNl9VgAMOAO7R3/+59rxxPyHYef315HauQQdlxR1 aQh/kqzu2c21N4vwp/TZ8HBd0+fqzVsFsrwjnyl3YnZNIsSzEx1ikCy5c0K41N70 hjbu81uh3LSdFYQxg/vNQHYn31ZUMCiYWLmzTG84iuZN7apLntUxqiIB51sdJIYu /Pkcf6BiTuh0nRqG8gB7RqMk+NMakkidTBXWraPrUgyRRR4Sg9qNjhVa8oT3x/rk 5un8MXsXLGr8JWDATimJxbRL0Hcf+w== =rN7F -----END PGP SIGNATURE----- --=-=-=--