about summary refs log tree commit diff
path: root/pkgs/os-specific/linux
diff options
context:
space:
mode:
authorManuel Mendez <mmendez534@gmail.com>2020-05-13 14:34:10 -0400
committerJörg Thalheim <joerg@thalheim.io>2020-05-13 23:53:30 +0100
commita1e13f6140a568b73c1c36bb9ef79d7876ccaae3 (patch)
tree6730dfad7a9229c4dc3677da5ad21ecab6388d6c /pkgs/os-specific/linux
parentee2922a4b4733bf74cdc5bac1de98a255d553447 (diff)
downloadnixlib-a1e13f6140a568b73c1c36bb9ef79d7876ccaae3.tar
nixlib-a1e13f6140a568b73c1c36bb9ef79d7876ccaae3.tar.gz
nixlib-a1e13f6140a568b73c1c36bb9ef79d7876ccaae3.tar.bz2
nixlib-a1e13f6140a568b73c1c36bb9ef79d7876ccaae3.tar.lz
nixlib-a1e13f6140a568b73c1c36bb9ef79d7876ccaae3.tar.xz
nixlib-a1e13f6140a568b73c1c36bb9ef79d7876ccaae3.tar.zst
nixlib-a1e13f6140a568b73c1c36bb9ef79d7876ccaae3.zip
go: stop setting GOPATH
The compiler does not need it anymore, has not needed it for many years
iirc. This just goes in and pollutes the environment overriding the
users GOPATH and causing grief.

Go even warns about it itself, without vs with this commit:

```sh
~> go env GOPATH
/home/manny/go
~> nix-shell -p go
~> go env GOPATH
warning: GOPATH set to GOROOT (/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go) has no effect
/nix/store/gvw1mfpdrk7i82884yhxf9lf5j3c12zm-go-1.14.1/share/go
~> exit
~> nix-shell -I nixpkgs=cloned/NixOS/nixpkgs -p go
~> go env GOPATH
/home/manny/go
~> exit
```
Diffstat (limited to 'pkgs/os-specific/linux')
0 files changed, 0 insertions, 0 deletions