This website requires JavaScript.
Explore
Help
Register
Sign In
alioth
/
nixpkgs
Watch
3
Star
0
Fork
You've already forked nixpkgs
0
forked from
mirrors/nixpkgs
Code
Releases
Activity
b7a0c60e8b
nixpkgs
/
pkgs
/
development
/
compilers
/
go
/
setup-hook.sh
6 lines
98 B
Bash
Raw
Normal View
History
Unescape
Escape
new Go support function 'buildGoPackage' add a setupHook to the Go compiler that builds a GOPATH new buildGoPackage function that overides the phases of stdenv
2015-01-31 15:51:20 +00:00
addToGoPath
(
)
{
addToSearchPath GOPATH
$1
/share/go
}
treewide: Don't use envHook anymore This commits needs a MAJOR audit as I oftentimes just guessed which of `$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-08-10 23:22:07 +01:00
addEnvHooks
"
$targetOffset
"
addToGoPath
Copy permalink