summary refs log tree commit diff
path: root/pkgs/development/compilers/go/1.1-darwin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/go/1.1-darwin.nix')
-rw-r--r--pkgs/development/compilers/go/1.1-darwin.nix5
1 files changed, 5 insertions, 0 deletions
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"