On Sat, Feb 27, 2016 at 09:12:42PM +0200, Efraim Flashner wrote: > On Fri, 26 Feb 2016 16:36:56 -0500 > Leo Famulari <l...@famulari.name> wrote: > > > On Fri, Feb 26, 2016 at 03:59:49PM -0500, Thompson, David wrote: > > > On Fri, Feb 26, 2016 at 2:31 PM, <swedebu...@riseup.net> wrote: > > > > I have lately looked closer at IPFS and I would like to compile and run > > > > it > > > > on GuixSD but don't know how to succeed without a build system. > > > > > > We would need a Go toolchain first. I recall at least two people > > > trying to package Go but no patches have shown up here. Seems it's > > > not a straightforward process. > > > > IIRC, Efraim and "codemacs" (from IRC) have mentioned working on this. > > My impression is that it's getting very close, but you may want to ask > > them if they want help. > > > > I've attached what my current go patches are. Here[1] is codemac's go > packages. > > quoting codemac from mid-january: > > They still fail if you ever link against anything that dynamically links > against glibc. This means any go program that uses the net, os/user, > runtime or cgo packages fail to execute complaining they can't find > libgcc_s. I've tried just about everything imagineable, and it's unclear > to me how the nix gcc + glibc packages differ from the guix ones. > > I'd love help / suggestions, I use golang at my day job so I'm motivated > to get this fixed. I have a pretty good idea of what the go package > system could look like for guix without us distributing PILES of > statically linked go poop as well, but that's a separate discussion.
Has anybody asked for help from the Nix hackers that maintain Go in Nix? It might be worth an email to their mailing list...