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: Wed, 24 Oct 2018 15:17:44 +0200 Message-ID: <87h8hb32mf.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> 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]:49475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFJ3W-0000YX-5W for guix-devel@gnu.org; Wed, 24 Oct 2018 09:18:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFJ2j-0001YA-M8 for guix-devel@gnu.org; Wed, 24 Oct 2018 09:17:53 -0400 In-Reply-To: <87va5yoxa0.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 19 Oct 2018 15:56:23 +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 Hi! Pierre Neidhardt skribis: >> As discussed before (I think?), builds are performed in an isolated >> environment without network access=E2=80=94this is one of the measures t= aken to >> guarantee build reproducibility and statelessness. >>=20 >> So what you=E2=80=99re doing here (running =E2=80=9Cgx=E2=80=9D in a der= ivation) cannot work. > > No, the above error comes from the "gx-fetch" code I've just pushed to the > wip-ipfs branch. Downloaders obviously have network access, but maybe I'= ve set > it up wrong. To be precise, builders of fixed-output derivations (derivations for which the hash of the result is known in advance) have network access. In practice these are downloaders, but it=E2=80=99s because they are fixed-output derivations that the daemon is more liberal and provides them with network access. How did you define =E2=80=98gx-fetch=E2=80=99? Thanks, Ludo=E2=80=99.