Merge pull request #1231 from zimbatm/golang-darwin-fix
Fixes go 1.1.2 compilation on OSX Maverick
This commit is contained in:
commit
fa9284b941
|
@ -45,6 +45,11 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
|
||||||
|
# CGO is broken on Maverick. See: http://code.google.com/p/go/issues/detail?id=5926
|
||||||
|
# Reevaluate once go 1.1.3 is out
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
export GOROOT="$(pwd)/"
|
export GOROOT="$(pwd)/"
|
||||||
export GOBIN="$out/bin"
|
export GOBIN="$out/bin"
|
||||||
export PATH="$GOBIN:$PATH"
|
export PATH="$GOBIN:$PATH"
|
||||||
|
|
Loading…
Reference in a new issue