mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:48:10 +00:00
6 lines
96 B
Bash
6 lines
96 B
Bash
|
addToGoPath() {
|
||
|
addToSearchPath GOPATH $1/share/go
|
||
|
}
|
||
|
|
||
|
envHooks=(${envHooks[@]} addToGoPath)
|