It seems there's a lot of interest around getting Go packaged in Guix, so I figured I should post my work so far to the mailinglist. Currently go-1.4 does not have cgo enabled, the go binary keeps on trying to link against libgcc_s.so.1 (from gcc:lib) and can't find it in the RUNPATH. Also, the tests are disabled. Nix has a whole slew of changes to the test suite to remove tests that call out to the internet and to change tests that call /bin/{hostname,pwd} and others.
Go-1.4 is built using gccgo-4.9, and go-1.5 uses go-1.4 to build, so I'm pretty confident that go-1.4 works, and since go-1.5 inherits from go-1.4 it should be working too. I wanted to write the go-build-system before submitting, but everything I know about go I learned while packaging it, so it doesn't seem fair to have everyone wait while I prepare a build system that could be missing crucial features. I still intend to work on the build system; I'm probably just psyching myself out about it :). Efraim Flashner (3): gnu: gccgo: Update to 4.9. gnu: Add go-1.4. gnu: Add go-1.5. gnu-system.am | 1 + gnu/packages/gcc.scm | 4 +- gnu/packages/golang.scm | 124 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 127 insertions(+), 2 deletions(-) create mode 100644 gnu/packages/golang.scm -- 2.7.0.rc3