bug-guix
[Top][All Lists]
Advanced

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

Re: Grue Hunter: Can't create directories in the store


From: Ludovic Courtès
Subject: Re: Grue Hunter: Can't create directories in the store
Date: Fri, 24 May 2013 14:51:03 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>>>>    (let* ((gh   (assoc-ref %build-inputs "source"))
>>>
>>> What is the associated value here?  I assume it should be 'gh.pl'.
>
>> Yes.  Actually, “source” is the name of the input that corresponds to
>> the ‘source’ field of the package.  So, if your package does
>
>>   (package
>>     (source (origin (... (uri ".../gh.pl"))))
>>     ...)
>
>> then in the builder, (assoc-ref %build-inputs "source") will be
>> /nix/store/...-gh.pl.
>
> Makes sense, but I don't understand the (uri ".../gh.pl") part.  It
> should be (uri "...tar.gz") instead.

Ah, maybe.  I thought the source of Grue Hunter was a single Perl file.

Ludo’.



reply via email to

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