From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Guix & IPFS Date: Mon, 15 Oct 2018 15:56:52 +0200 Message-ID: <877eijjot7.fsf@ambrevar.xyz> References: <87r2grk5dj.fsf@ambrevar.xyz> <87lg6zfr20.fsf@gnu.org> <87lg6zjxwt.fsf@ambrevar.xyz> <871s8rfmoe.fsf@gnu.org> <87a7nfjrml.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC3Mi-00044b-5b for guix-devel@gnu.org; Mon, 15 Oct 2018 09:57:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC3Md-0003Gr-NA for guix-devel@gnu.org; Mon, 15 Oct 2018 09:57:00 -0400 In-reply-to: <87a7nfjrml.fsf@ambrevar.xyz> 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The gopkg patch seems to work on repository where .toml is missing, despite= some missing fields (e.g. synopsis), but that's OK. Back to IPFS: I have some bad news :( The import path are hard-coded to use "gx/ipfs...", for instance =2D-8<---------------cut here---------------start------------->8--- import ( cid "gx/ipfs/QmPSQnBKM9g7BaUcZCvswUJVscQ1ipjmwxN5PXCjkp9EQ7/go-cid" ) =2D-8<---------------cut here---------------end--------------->8--- 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. Method 2 goes in the direction of IPFS but opposite Guix, while method 1 is= the other way around. Method 2 will be easier, and technically IPFS is here to give us a guarante= e of reproducibility. What do you people think? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlvEnKQACgkQm9z0l6S7 zH+PWQgAqbZKe/m9/UTj2sjGcJQqQcFfL6H6mALJYFsNagkkgv41T8PYXEwMbBMi 2S40Nd7NnyoLkJ/QW8piC4Ve5kaM/h0IeJWUUCui2VoA0HkDbXenNqMV/3GGBXk8 gV1klASzM2MGg2saK+wYaU9kUMN/+FJiXUxV+i9JrIsU7j1Gy6i55YaZn1kNKFVT 0uGdOM30Z1pExP5iGrfH2hfRCl40mq1OIMg/Gy82RbtZItT0tUMAeVDPnzGmKmNd uAvrFyMoPFSF/3R0VnJb1lLkd54Ee8kwBIfs4G+Yt+X8zB91K0CILYlYwRGVEE/j QBzPHmPrgHlTc7nfKQd03PSBCO3BPg== =mb3B -----END PGP SIGNATURE----- --=-=-=--