bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: Add Grue Hunter.


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: Add Grue Hunter.
Date: Mon, 03 Jun 2013 12:14:33 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> 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 ‘perl’ was not found in $PATH, because of the above.

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]