go-nv / goenv

:blue_car: Like pyenv and rbenv, but for Go.
https://github.com/go-nv/goenv
MIT License
2.05k stars 245 forks source link

Build from source #285

Open arkhan opened 1 year ago

arkhan commented 1 year ago

Greetings, there is the possibility of being able to compile from the source code each version of Go to be installed, I am currently using Guix, and when trying to use a version of Go for a project you cannot execute the binaries downloaded

image

Thanks

ChronosMasterOfAllTime commented 1 year ago

There has been some discussion around this; it would introduce a dependency on gcc as well as any other compile tools necessary as each OS flavor comes with its own version.

EDIT: see https://github.com/syndbg/goenv/issues/106#issuecomment-1312132864

gl-yziquel commented 3 months ago

I'd vote for the ability to opt in to compile from source.

You can always do it manually, though, and symlink the build in the source tree with a symlink in ~/.goenv/versions.