darwin purity: python-2.7

This commit is contained in:
Jude Taylor 2015-06-19 12:56:00 -07:00
parent e039794e5b
commit f048ff3969
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,8 @@
, tcl ? null, tk ? null, x11 ? null, libX11 ? null, x11Support ? !stdenv.isCygwin
, zlib ? null, zlibSupport ? true
, expat, libffi
, CF, configd
}:
assert zlibSupport -> zlib != null;
@ -92,7 +94,8 @@ let
[ db gdbm ncurses sqlite readline
] ++ optionals x11Support [ tcl tk x11 libX11 ]
)
++ optional zlibSupport zlib;
++ optional zlibSupport zlib
++ optionals stdenv.isDarwin [ CF configd ];
# Build the basic Python interpreter without modules that have
# external dependencies.

View File

@ -4910,6 +4910,7 @@ let
};
python27 = callPackage ../development/interpreters/python/2.7 {
self = python27;
inherit (darwin) CF configd;
};
python32 = callPackage ../development/interpreters/python/3.2 {
self = python32;