summary refs log tree commit diff
path: root/pkgs/stdenv
diff options
context:
space:
mode:
authorDrew Hess <src@drewhess.com>2015-09-11 19:23:52 -0700
committerEric Seidel <gridaphobe@gmail.com>2015-09-23 14:41:41 -0700
commit3c8b92f4b35618e7c1db33e6878eb9526127406d (patch)
treef58a37147abda35a874101909ada1701e08ff849 /pkgs/stdenv
parentff9a70266b7f778eba504ae68928e7fd92bd0705 (diff)
downloadnixpkgs-3c8b92f4b35618e7c1db33e6878eb9526127406d.tar
nixpkgs-3c8b92f4b35618e7c1db33e6878eb9526127406d.tar.gz
nixpkgs-3c8b92f4b35618e7c1db33e6878eb9526127406d.tar.bz2
nixpkgs-3c8b92f4b35618e7c1db33e6878eb9526127406d.tar.lz
nixpkgs-3c8b92f4b35618e7c1db33e6878eb9526127406d.tar.xz
nixpkgs-3c8b92f4b35618e7c1db33e6878eb9526127406d.tar.zst
nixpkgs-3c8b92f4b35618e7c1db33e6878eb9526127406d.zip
Workaround for getcwd configure test on 10.11.
See https://openradar.appspot.com/22671534 for a description of the
problem.
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r--pkgs/stdenv/darwin/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix
index 9ad2c8504d1..c5634984532 100644
--- a/pkgs/stdenv/darwin/default.nix
+++ b/pkgs/stdenv/darwin/default.nix
@@ -58,6 +58,8 @@ rec {
     export NIX_CFLAGS_COMPILE+=" --sysroot=/var/empty -idirafter $SDKROOT/usr/include -F$SDKROOT/System/Library/Frameworks -Wno-multichar -Wno-deprecated-declarations"
     export NIX_LDFLAGS_AFTER+=" -L$SDKROOT/usr/lib"
     export CMAKE_OSX_ARCHITECTURES=x86_64
+    # Workaround for https://openradar.appspot.com/22671534 on 10.11.
+    export gl_cv_func_getcwd_abort_bug=no
   '';
 
   # A stdenv that wraps the Apple command-line tools and our other trivial symlinked bootstrap tools