Hello!

Pierre Neidhardt <m...@ambrevar.xyz> 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