remove unbuildables from impure darwin stdenv

This commit is contained in:
Jude Taylor 2015-06-19 22:08:11 -07:00
parent 14d83e9565
commit e3927f6b92
1 changed files with 5 additions and 1 deletions

View File

@ -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.