[Top][All Lists]

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

Re: ‘guix archive’ doesn’t work over ‘./pre-inst-env’

From: Ludovic Courtès
Subject: Re: ‘guix archive’ doesn’t work over ‘./pre-inst-env’
Date: Sun, 26 Jan 2014 15:52:16 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> 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 with 
> exit code 1
> The command succeeded when I installed Guix and re-ran it without
> ‘./pre-inst-env’.

Indeed.  I just fixed that.

> Slightly off-topic: is Hydra supposed to do the same when someone
> requests a substitute?

It’s supposed to do something equivalent, yes (specifically, it uses a
Nix command-line client tool which calls the ‘export-paths’ RPC, which
then calls ‘guix authenticate’ to create the signature.)

However, note that 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:

It caches the answer (positive or negative) under
(or similar.)


reply via email to

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