aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/go/1.14.nix
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/development/compilers/go/1.14.nix
parentee2922a4b4733bf74cdc5bac1de98a255d553447 (diff)
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/development/compilers/go/1.14.nix')
-rw-r--r--pkgs/development/compilers/go/1.14.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/development/compilers/go/1.14.nix b/pkgs/development/compilers/go/1.14.nix
index 9ee5b6fa6242..4d83e12b3b2a 100644
--- a/pkgs/development/compilers/go/1.14.nix
+++ b/pkgs/development/compilers/go/1.14.nix
@@ -229,8 +229,6 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
- setupHook = ./setup-hook.sh;
-
disallowedReferences = [ goBootstrap ];
meta = with stdenv.lib; {