[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix & IPFS

From: Pierre Neidhardt
Subject: Re: Guix & IPFS
Date: Mon, 15 Oct 2018 15:56:52 +0200
User-agent: mu4e 1.0; emacs 26.1

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

--8<---------------cut here---------------start------------->8---
import (
        cid "gx/ipfs/QmPSQnBKM9g7BaUcZCvswUJVscQ1ipjmwxN5PXCjkp9EQ7/go-cid"
--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
  "", 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 guarantee of
reproducibility.  What do you people think?

Pierre Neidhardt

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]