guix-devel
[Top][All Lists]
Advanced

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

Re: Guix & IPFS


From: Ludovic Courtès
Subject: Re: Guix & IPFS
Date: Thu, 25 Oct 2018 15:34:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello!

Pierre Neidhardt <address@hidden> skribis:

>> To be precise, builders of fixed-output derivations (derivations for
>> which the hash of the result is known in advance) have network access.
>
> Oh, I did not know this detail.  Thanks for pointing it out!

[...]

> +  (mlet %store-monad ((guile (package->derivation guile system)))
> +    (gexp->derivation (or name "gx-checkout") build
> +                      #:system system
> +                      #:local-build? #t
> +                      #:hash-algo hash-algo
> +                      #:hash hash
> +                      #:recursive? #t
> +                      #:guile-for-build guile)))

As long as ‘hash-algo’ and ‘hash’ are true, it does define a
fixed-output derivation, so the builder should indeed have network
access.

What does ‘gx’ tell you in the builder?

HTH,
Ludo’.



reply via email to

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