3
0
Fork 0
forked from mirrors/nixpkgs

pkgs/top-level/all-packages.nix: dropped getConfig support for Python 2.7

Python 2.7 can no longer be configured using the obsolete "getConfig"
mechanism. Instead, use "override" to fine-tune the installation.

svn path=/nixpkgs/trunk/; revision=23143
This commit is contained in:
Peter Simons 2010-08-12 12:53:26 +00:00
parent 19158d7dec
commit 70a603c4bb

View file

@ -2125,15 +2125,8 @@ let
python27Full = python27Base.override {
# FIXME: We lack ncurses support, needed, e.g., for `gpsd'.
db4 = if getConfig ["python" "db4Support"] true then db4 else null;
sqlite = if getConfig ["python" "sqliteSupport"] true then sqlite else null;
readline = if getConfig ["python" "readlineSupport"] true then readline else null;
openssl = if getConfig ["python" "opensslSupport"] true then openssl else null;
tk = if getConfig ["python" "tkSupport"] true then tk else null;
tcl = if getConfig ["python" "tkSupport"] true then tcl else null;
libX11 = if getConfig ["python" "tkSupport"] true then xlibs.libX11 else null;
xproto = if getConfig ["python" "tkSupport"] true then xlibs.xproto else null;
ncurses = if getConfig ["python" "curses"] true then ncurses else null;
inherit db4 sqlite readline openssl tcl tk ncurses;
inherit (xlibs) libX11 xproto;
};
python31Base = lowPrio (makeOverridable (import ../development/interpreters/python/3.1) {