From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Guix & IPFS Date: Thu, 25 Oct 2018 15:34:02 +0200 Message-ID: <871s8eup4l.fsf@gnu.org> References: <87r2grk5dj.fsf@ambrevar.xyz> <87lg6zfr20.fsf@gnu.org> <87lg6zjxwt.fsf@ambrevar.xyz> <20181016162747.GB25057@jasmine.lan> <87r2goecf5.fsf@ambrevar.xyz> <87in1ygi94.fsf@gnu.org> <87va5yoxa0.fsf@ambrevar.xyz> <87h8hb32mf.fsf@gnu.org> <87efcfxx7y.fsf@ambrevar.xyz> 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]:57150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFfmp-00027z-70 for guix-devel@gnu.org; Thu, 25 Oct 2018 09:34:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFfm0-0007OZ-M1 for guix-devel@gnu.org; Thu, 25 Oct 2018 09:34:07 -0400 In-Reply-To: <87efcfxx7y.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 24 Oct 2018 15:58:41 +0200") 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" To: Pierre Neidhardt Cc: Guix-devel Hello! Pierre Neidhardt 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 =E2=80=98hash-algo=E2=80=99 and =E2=80=98hash=E2=80=99 are true,= it does define a fixed-output derivation, so the builder should indeed have network access. What does =E2=80=98gx=E2=80=99 tell you in the builder? HTH, Ludo=E2=80=99.