depot/third_party/nixpkgs/pkgs/development/compilers/go/setup-hook.sh

6 lines
98 B
Bash
Raw Normal View History

addToGoPath() {
addToSearchPath GOPATH $1/share/go
}
addEnvHooks "$targetOffset" addToGoPath