From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add Grue Hunter. Date: Mon, 03 Jun 2013 12:14:33 +0200 Message-ID: <87txlffqly.fsf@gnu.org> References: <878v3hgxql.fsf@karetnikov.org> <8761ykl9xl.fsf@gnu.org> <87fvxn3b51.fsf@karetnikov.org> <87ppwqdgv2.fsf@gnu.org> <87zjvkpw6o.fsf@karetnikov.org> <877giozglk.fsf@gnu.org> <87d2sgwio8.fsf@karetnikov.org> <878v34xujn.fsf@gnu.org> <878v2xkuds.fsf_-_@karetnikov.org> <871u8oy97s.fsf@gnu.org> <87bo7nubji.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjRs7-0001Lu-JB for bug-guix@gnu.org; Mon, 03 Jun 2013 06:20:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjRs6-0002yR-8B for bug-guix@gnu.org; Mon, 03 Jun 2013 06:20:15 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:39663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjRs6-0002yM-2m for bug-guix@gnu.org; Mon, 03 Jun 2013 06:20:14 -0400 In-Reply-To: <87bo7nubji.fsf@karetnikov.org> (Nikita Karetnikov's message of "Mon, 03 Jun 2013 07:18:41 +0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Nikita Karetnikov skribis: >> > 2. I'd like to use >> > >> > (patch-shebang (string-append bin "/grue-hunter") >> > (list perl)) > >> Should be (list (string-append perl "/bin")). > > I don't think so. Here's the output of (display (string-append "PERL: " = perl "\n")): > > PERL: /nix/store/rp1fdpa8fa4cdx3j76yyhi45lgx796nw-perl-5.16.1/bin/perl > > And 'perl' is defined like this: > > (perl (string-append (assoc-ref %build-inputs > "perl") > "/bin/perl")) Ah OK. Then remove the /perl part ($PATH should only contain directory names.) > There is also a corresponding line in 'inputs'. Why does the mentioned > 'patch-shebang' line return the following? > > patch-shebang: /nix/store/k6w3d29k2i9acj3v9ypy19v4sqxki8gk-grue-hunter-1.= 0/bin/grue-hunter: warning: no binary for interpreter `perl' found in $PATH Because =E2=80=98perl=E2=80=99 was not found in $PATH, because of the above. HTH, Ludo=E2=80=99.