darwin purity: python-2.7
This commit is contained in:
parent
e039794e5b
commit
f048ff3969
@ -8,6 +8,8 @@
|
|||||||
, tcl ? null, tk ? null, x11 ? null, libX11 ? null, x11Support ? !stdenv.isCygwin
|
, tcl ? null, tk ? null, x11 ? null, libX11 ? null, x11Support ? !stdenv.isCygwin
|
||||||
, zlib ? null, zlibSupport ? true
|
, zlib ? null, zlibSupport ? true
|
||||||
, expat, libffi
|
, expat, libffi
|
||||||
|
|
||||||
|
, CF, configd
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert zlibSupport -> zlib != null;
|
assert zlibSupport -> zlib != null;
|
||||||
@ -92,7 +94,8 @@ let
|
|||||||
[ db gdbm ncurses sqlite readline
|
[ db gdbm ncurses sqlite readline
|
||||||
] ++ optionals x11Support [ tcl tk x11 libX11 ]
|
] ++ 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
|
# Build the basic Python interpreter without modules that have
|
||||||
# external dependencies.
|
# external dependencies.
|
||||||
|
@ -4910,6 +4910,7 @@ let
|
|||||||
};
|
};
|
||||||
python27 = callPackage ../development/interpreters/python/2.7 {
|
python27 = callPackage ../development/interpreters/python/2.7 {
|
||||||
self = python27;
|
self = python27;
|
||||||
|
inherit (darwin) CF configd;
|
||||||
};
|
};
|
||||||
python32 = callPackage ../development/interpreters/python/3.2 {
|
python32 = callPackage ../development/interpreters/python/3.2 {
|
||||||
self = python32;
|
self = python32;
|
||||||
|
Loading…
Reference in New Issue
Block a user