From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita@karetnikov.org>
Cc: bug-guix@gnu.org
Subject: Re: Grue Hunter: Can't create directories in the store
Date: Fri, 24 May 2013 14:51:03 +0200 [thread overview]
Message-ID: <877giozglk.fsf@gnu.org> (raw)
In-Reply-To: <87zjvkpw6o.fsf@karetnikov.org> (Nikita Karetnikov's message of "Fri, 24 May 2013 13:24:31 +0400")
Nikita Karetnikov <nikita@karetnikov.org> 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’.
next prev parent reply other threads:[~2013-05-24 12:51 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 19:36 Grue Hunter: Can't create directories in the store Nikita Karetnikov
2013-05-15 0:59 ` Cyril Roelandt
2013-05-15 12:11 ` Ludovic Courtès
2013-05-16 2:35 ` Nikita Karetnikov
2013-05-16 16:33 ` Ludovic Courtès
2013-05-24 9:24 ` Nikita Karetnikov
2013-05-24 12:51 ` Ludovic Courtès [this message]
2013-05-24 14:34 ` Nikita Karetnikov
2013-05-24 15:32 ` Ludovic Courtès
2013-05-30 3:40 ` [PATCH] gnu: Add Grue Hunter Nikita Karetnikov
2013-05-30 11:53 ` Ludovic Courtès
2013-06-03 3:18 ` Nikita Karetnikov
2013-06-03 10:14 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877giozglk.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=bug-guix@gnu.org \
--cc=nikita@karetnikov.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.