about summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/2.7
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-06-19 22:08:11 -0700
committerJude Taylor <me@jude.bio>2015-06-19 22:08:11 -0700
commite3927f6b928952921296754804c90ed554b941ac (patch)
tree2b071061fe00a3df890a284d5c2234bb70206f16 /pkgs/development/interpreters/python/2.7
parent14d83e9565ea6179c07999fde0be1f516889d005 (diff)
downloadnixlib-e3927f6b928952921296754804c90ed554b941ac.tar
nixlib-e3927f6b928952921296754804c90ed554b941ac.tar.gz
nixlib-e3927f6b928952921296754804c90ed554b941ac.tar.bz2
nixlib-e3927f6b928952921296754804c90ed554b941ac.tar.lz
nixlib-e3927f6b928952921296754804c90ed554b941ac.tar.xz
nixlib-e3927f6b928952921296754804c90ed554b941ac.tar.zst
nixlib-e3927f6b928952921296754804c90ed554b941ac.zip
remove unbuildables from impure darwin stdenv
Diffstat (limited to 'pkgs/development/interpreters/python/2.7')
-rw-r--r--pkgs/development/interpreters/python/2.7/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix
index a24135ed83bd..195caa583ad4 100644
--- a/pkgs/development/interpreters/python/2.7/default.nix
+++ b/pkgs/development/interpreters/python/2.7/default.nix
@@ -95,7 +95,11 @@ let
         ] ++ optionals x11Support [ tcl tk x11 libX11 ]
     )
     ++ optional zlibSupport zlib
-    ++ optionals stdenv.isDarwin [ CF configd ];
+
+    # depend on CF and configd only if purity is an issue
+    # the impure bootstrap compiler can't build CoreFoundation currently. it requires
+    # <mach-o/dyld.h> which is in our pure bootstrapTools, but not in the system headers.
+    ++ optionals (stdenv.isDarwin && !stdenv.cc.nativeLibc) [ CF configd ];
 
   # Build the basic Python interpreter without modules that have
   # external dependencies.