Closing this as it seems this is no longer an issue with the go versions currently packaged.
Sarah Morgensen <iskar...@mgsn.dev> writes: > Hello, > > Looking through old Go bugs I found this. Is this still an issue for > anyone? I just tested with go@1.14 and go@1.16 and I got expected > behavior (binary was installed in ~/go/bin, since ~/go is the default > GOPATH). > > Leo Famulari <l...@famulari.name> writes: > >> On Mon, Jan 29, 2018 at 10:50:10AM +0100, Peter Mikkelsen wrote: >>> Hi guix, >> >> Hi, thanks for this report! I saw your brief conversation on #guix with >> civodul. Unfortunately I've only been paying attention to packaging Go >> software with Guix, so I didn't notice this issue. >> >>> For example, after setting the environment variable GOPATH to >>> /home/peter/go, and creating a small hello world program in there, I >>> would normally be able to run 'go install' in that folder, and the >>> hello world binary would end up in my gopath. But on guixSD this is >>> not the case, since it seems like 'go install' is trying to compile >>> every single library provided by to go package itself, and that means >>> writing to the store, which is not possible. > > -- > Sarah