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: Nikita Karetnikov
Subject: Re: Grue Hunter: Can't create directories in the store
Date: Fri, 24 May 2013 13:24:31 +0400

>>>    (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.

Attachment: pgplUttpQeXqZ.pgp
Description: PGP signature


reply via email to

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