From e3927f6b928952921296754804c90ed554b941ac Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Fri, 19 Jun 2015 22:08:11 -0700 Subject: [PATCH] remove unbuildables from impure darwin stdenv --- pkgs/development/interpreters/python/2.7/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix index a24135ed83b..195caa583ad 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 + # 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.