This website requires JavaScript.
Explore
Help
Sign in
cafkafk
/
nixpkgs
Watch
1
Star
0
Fork
You've already forked nixpkgs
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
2
765f72d037
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 16:51:20 +01: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-11 00:22:07 +02:00
addEnvHooks
"
$targetOffset
"
addToGoPath
Reference in a new issue
Copy permalink