guix-devel
[Top][All Lists]
Advanced

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

Re: Guix & IPFS


From: Ludovic Courtès
Subject: Re: Guix & IPFS
Date: Tue, 16 Oct 2018 13:51:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi,

Pierre Neidhardt <address@hidden> 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’t work: there’s not network access in the build environment in
order to maximize reproducibility.

So I suppose Method #1 is all we have…

Thoughts?

Ludo’.



reply via email to

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