From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Grue Hunter: Can't create directories in the store Date: Fri, 24 May 2013 14:51:03 +0200 Message-ID: <877giozglk.fsf@gnu.org> References: <878v3hgxql.fsf@karetnikov.org> <8761ykl9xl.fsf@gnu.org> <87fvxn3b51.fsf@karetnikov.org> <87ppwqdgv2.fsf@gnu.org> <87zjvkpw6o.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 ([208.118.235.92]:45400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfrSp-0006tA-AH for bug-guix@gnu.org; Fri, 24 May 2013 08:51:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfrSk-0000t8-8k for bug-guix@gnu.org; Fri, 24 May 2013 08:51:19 -0400 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=35209 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfrSk-0000qH-3H for bug-guix@gnu.org; Fri, 24 May 2013 08:51:14 -0400 In-Reply-To: <87zjvkpw6o.fsf@karetnikov.org> (Nikita Karetnikov's message of "Fri, 24 May 2013 13:24:31 +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: >>>> (let* ((gh (assoc-ref %build-inputs "source")) >>> >>> What is the associated value here? I assume it should be 'gh.pl'. > >> Yes. Actually, =E2=80=9Csource=E2=80=9D is the name of the input that c= orresponds to >> the =E2=80=98source=E2=80=99 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=E2=80=99.