cpython: make configd optional (for sandboxed darwin bootstraps)

This commit is contained in:
Dan Peebles 2017-11-08 22:20:00 -05:00
parent 48a34be41c
commit 0f75e6bef7

View file

@ -128,7 +128,7 @@ let
++ optional hostPlatform.isCygwin expat
++ [ db gdbm ncurses sqlite readline ]
++ optionals x11Support [ tcl tk xlibsWrapper libX11 ]
++ optionals stdenv.isDarwin [ CF configd ];
++ optionals stdenv.isDarwin ([ CF ] ++ optional (configd != null) configd);
mkPaths = paths: {
C_INCLUDE_PATH = makeSearchPathOutput "dev" "include" paths;