mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
faa5dccab8
add a setupHook to the Go compiler that builds a GOPATH new buildGoPackage function that overides the phases of stdenv
6 lines
96 B
Bash
6 lines
96 B
Bash
addToGoPath() {
|
|
addToSearchPath GOPATH $1/share/go
|
|
}
|
|
|
|
envHooks=(${envHooks[@]} addToGoPath)
|