From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:51198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs38f-0000EW-Fm for guix-patches@gnu.org; Fri, 08 Feb 2019 05:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs38d-0003YI-R9 for guix-patches@gnu.org; Fri, 08 Feb 2019 05:12:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39639) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs38c-0003XP-Oy for guix-patches@gnu.org; Fri, 08 Feb 2019 05:12:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gs38c-00075o-EZ for guix-patches@gnu.org; Fri, 08 Feb 2019 05:12:02 -0500 Subject: bug#29951: [PATCH]: guix: Add wrap-script. Resent-To: guix-patches@gnu.org Resent-Message-ID: References: <20180102204434.2716-1-rekado@elephly.net> <87d0o4fr7q.fsf@elephly.net> From: Ricardo Wurmus In-reply-to: <87d0o4fr7q.fsf@elephly.net> Date: Fri, 08 Feb 2019 11:10:40 +0100 Message-ID: <87h8demvz3.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 29951-done@debbugs.gnu.org Ricardo Wurmus writes: > Here=E2=80=99s a new version which raises a condition on errors, handles > all shebangs (including those with arguments or with custom store > prefix), and which allows the value for =E2=80=9Cguile=E2=80=9D to be ove= rridden. > > It comes with tests. I have pushed this to core-updates with commit 0fb9a8df429a7b9f40610ff15baaff0d8e31e8cf > It doesn=E2=80=99t apply automatically when =E2=80=9Cwrap-program=E2=80= =9D is used. It might be > a good idea to call it automatically and fall back to =E2=80=9Cwrap-progr= am=E2=80=9D if > the target is not a supported script. It still doesn=E2=80=99t do this. To use it you have to opt in and use =E2=80=9Cwrap-script=E2=80=9D instead of =E2=80=9Cwrap-program=E2=80=9D. Comments are still welcome! -- Ricardo