From e4bfdb2da96852bcfe72181b5438d5047e835b93 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 4 Jan 2011 16:30:54 +0000 Subject: * Make Python 2.7 the default Python. svn path=/nixpkgs/branches/modular-python/; revision=25394 --- pkgs/top-level/all-packages.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6f3d96fe081b..fe32e9049728 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2265,7 +2265,8 @@ let polyml = callPackage ../development/compilers/polyml { }; - python = if getConfig ["python" "full"] false then pythonFull else pythonBase; + python = python27; + python26 = if getConfig ["python" "full"] false then python26Full else python26Base; pythonBase = python26Base; pythonFull = python26Full; @@ -4484,17 +4485,11 @@ let inherit fetchurl fetchsvn stdenv pkgconfig freetype fontconfig libxslt expat libdrm libpng zlib perl mesa xkeyboard_config dbus hal libuuid openssl gperf m4 - autoconf libtool xmlto asciidoc udev; + autoconf libtool xmlto asciidoc udev python; # XXX: Update to newer Automake on the next big rebuild; better yet: # remove the dependency on Automake. automake = automake110x; - - # !!! pythonBase is used instead of python because this causes an - # infinite recursion when the flag python.full is set to true. - # Packages contained in the loop are python, tk, xlibs-wrapper, - # libX11, libxcd (and xcb-proto). - python = pythonBase; }); xorgReplacements = callPackage ../servers/x11/xorg/replacements.nix { }; -- cgit 1.4.1