3 ms·
I want to be on the new wave of Go modules, but a Nix-managed GOPATH works just as well if not better, especially if you use niv to manage the hashes & versioni
by whateveracct 6y ago
I want to be on the new wave of Go modules, but a Nix-managed GOPATH works just as well if not better, especially if you use niv to manage the hashes & versioning.
This is considering the fact that nixpkgs has Go module support.
You can even use Nix's recursive, lazy nature to declare dependencies between libraries too in an equally lighweight way as go mod.
- cle 6y agoI agree that GOPATH makes integration with other package managers much easier. However, this is a lost cause at this point. Go is removing GOPATH support in the next release (Go 1.17). See: https://blog.golang.org/go116-module-changes https://blog.golang.org/go116-module-changes
- whateveracct 6y agoThat's a real shame!