This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
nixpkgs
Watch
1
Star
0
Fork
You've already forked nixpkgs
1
mirror of
https://github.com/NixOS/nixpkgs.git
synced
2024-12-25 03:17:13 +00:00
Code
Issues
Wiki
Activity
a963023e7b
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