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: Tue, 16 Oct 2018 13:51:29 +0200 Message-ID: <878t2ygldq.fsf@gnu.org> References: <87r2grk5dj.fsf@ambrevar.xyz> <87lg6zfr20.fsf@gnu.org> <87lg6zjxwt.fsf@ambrevar.xyz> <871s8rfmoe.fsf@gnu.org> <87a7nfjrml.fsf@ambrevar.xyz> <877eijjot7.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]:50321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCNsq-000530-CQ for guix-devel@gnu.org; Tue, 16 Oct 2018 07:51:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCNsp-0003y9-Ky for guix-devel@gnu.org; Tue, 16 Oct 2018 07:51:32 -0400 In-Reply-To: <877eijjot7.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Mon, 15 Oct 2018 15:56:52 +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: > Back to IPFS: I have some bad news :( > The import path are hard-coded to use "gx/ipfs...", for instance > > import ( > cid "gx/ipfs/QmPSQnBKM9g7BaUcZCvswUJVscQ1ipjmwxN5PXCjkp9EQ7/go-cid" > ) > > so this won't build directly. I see two possibilities: > > 1. We patch IPFS to replace all "gx/ipfs/.*/go-cid" with > "github.com/ipfs/go-cid", etc. Thus leaving the responsibility to Guix= to > package the right version. > > 2. We package "gx" and run "gx install --global" before the build phase. That won=E2=80=99t work: there=E2=80=99s not network access in the build en= vironment in order to maximize reproducibility. So I suppose Method #1 is all we have=E2=80=A6 Thoughts? Ludo=E2=80=99.