published
updated
https://haseebmajid.dev/posts/2023-10-26-how-to-setup-a-go-development-shell-with-nix-flakes/ https://nixos.wiki/wiki/Go
I know Go uses GOPATH
, which by default points to $HOME/go/bin/
, so you might want to set that to avoid polluting your ~
directory.