From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: =?utf-8?Q?=E2=80=98guix_archive=E2=80=99_doesn=E2=80=99t?= work over =?utf-8?Q?=E2=80=98=2E=2Fpre-inst-env=E2=80=99?= Date: Sun, 26 Jan 2014 15:52:16 +0100 Message-ID: <87eh3ure1r.fsf@gnu.org> References: <87txcqesqv.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 ([2001:4830:134:3::10]:33405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7R9L-0008J5-AT for guix-devel@gnu.org; Sun, 26 Jan 2014 09:57:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7R9E-0007l3-60 for guix-devel@gnu.org; Sun, 26 Jan 2014 09:57:27 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:44972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7R9D-0007ks-UY for guix-devel@gnu.org; Sun, 26 Jan 2014 09:57:20 -0500 In-Reply-To: <87txcqesqv.fsf@karetnikov.org> (Nikita Karetnikov's message of "Sun, 26 Jan 2014 18:13:12 +0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: guix-devel@gnu.org Nikita Karetnikov skribis: > $ sudo ./pre-inst-env guix archive --generate-key > $ ./pre-inst-env guix archive --export hello > hello.nar > error: executing `guix-authenticate': No such file or directory > guix archive: error: build failed: program `guix-authenticate' failed wit= h exit code 1 > > The command succeeded when I installed Guix and re-ran it without > =E2=80=98./pre-inst-env=E2=80=99. Indeed. I just fixed that. > Slightly off-topic: is Hydra supposed to do the same when someone > requests a substitute? It=E2=80=99s supposed to do something equivalent, yes (specifically, it use= s a Nix command-line client tool which calls the =E2=80=98export-paths=E2=80=99= RPC, which then calls =E2=80=98guix authenticate=E2=80=99 to create the signature.) However, note that hydra.gnu.org runs an older version of Hydra that lacks support for that. We can upgrade it when needed. > Also, where can I find the corresponding NAR info file? According to > this commit [1], the signature should be there. The .narinfo files are created on the fly. When looking for a binary for /nix/store/x4mnd9747fgwacjrvl1rynh59qlgz8gh-coreutils-8.21, the substituter attempts to fetch: http://hydra.gnu.org/x4mnd9747fgwacjrvl1rynh59qlgz8gh.narinfo It caches the answer (positive or negative) under /nix/var/nix/substitute-binary/cache/x4mnd9747fgwacjrvl1rynh59qlgz8gh (or similar.) HTH, Ludo=E2=80=99.