mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 05:48:38 +00:00
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:
parent
9f9f905819
commit
8677a22dd5
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user