3
0
Fork 0
forked from mirrors/nixpkgs

Fixes go 1.1.2 compilation on OSX Maverick

Apparently Apple thinks that faking gcc wiht a clang stub but not providing a
compatile libgcc.a is not going to cause any issues. They really do hate GPL.
This commit is contained in:
zimbatm 2013-11-17 13:31:11 +00:00
parent 9f9f905819
commit 8677a22dd5

View file

@ -45,6 +45,11 @@ stdenv.mkDerivation {
installPhase = ''
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 GOBIN="$out/bin"
export PATH="$GOBIN:$PATH"