mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
* Give Python 3.1 a lower priority so that it isn't installed by
default when you do "nix-env -i python" and to allow it to be installed in the same profile as Python 2.x. * Disambiguate between the variants of Python 2.x. svn path=/nixpkgs/trunk/; revision=21237
This commit is contained in:
parent
5acee5db82
commit
a745097710
@ -2678,7 +2678,7 @@ let
|
||||
inherit fetchurl stdenv zlib bzip2 gdbm;
|
||||
};
|
||||
|
||||
python25Full = python25Base.passthru.function {
|
||||
python25Full = lowPrio (python25Base.passthru.function {
|
||||
# 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;
|
||||
@ -2688,7 +2688,7 @@ let
|
||||
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;
|
||||
};
|
||||
});
|
||||
|
||||
python26Base = composedArgsAndFun (import ../development/interpreters/python/2.6) {
|
||||
inherit fetchurl stdenv zlib bzip2 gdbm;
|
||||
@ -2696,7 +2696,7 @@ let
|
||||
sw_vers = if stdenv.isDarwin then darwinSwVersUtility else null;
|
||||
};
|
||||
|
||||
python26Full = python26Base.passthru.function {
|
||||
python26Full = lowPrio (python26Base.passthru.function {
|
||||
# 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;
|
||||
@ -2706,13 +2706,13 @@ let
|
||||
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;
|
||||
};
|
||||
});
|
||||
|
||||
python31Base = composedArgsAndFun (import ../development/interpreters/python/3.1) {
|
||||
python31Base = lowPrio (composedArgsAndFun (import ../development/interpreters/python/3.1) {
|
||||
inherit fetchurl stdenv zlib bzip2 gdbm;
|
||||
arch = if stdenv.isDarwin then darwinArchUtility else null;
|
||||
sw_vers = if stdenv.isDarwin then darwinSwVersUtility else null;
|
||||
};
|
||||
});
|
||||
|
||||
pyrex = pyrex095;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user