diff --git a/pkgs/development/compilers/go/1.1-darwin.nix b/pkgs/development/compilers/go/1.1-darwin.nix index 2cbb8d49611..5b17f56ac37 100644 --- a/pkgs/development/compilers/go/1.1-darwin.nix +++ b/pkgs/development/compilers/go/1.1-darwin.nix @@ -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"