about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2011-01-04 16:30:54 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2011-01-04 16:30:54 +0000
commite4bfdb2da96852bcfe72181b5438d5047e835b93 (patch)
tree19d96a9d8a18ccb180c7807e6302226e834a92ba
parentdc1ac3c5d9875861b8d5da46ef6c8fa5ab9a1e24 (diff)
downloadnixlib-e4bfdb2da96852bcfe72181b5438d5047e835b93.tar
nixlib-e4bfdb2da96852bcfe72181b5438d5047e835b93.tar.gz
nixlib-e4bfdb2da96852bcfe72181b5438d5047e835b93.tar.bz2
nixlib-e4bfdb2da96852bcfe72181b5438d5047e835b93.tar.lz
nixlib-e4bfdb2da96852bcfe72181b5438d5047e835b93.tar.xz
nixlib-e4bfdb2da96852bcfe72181b5438d5047e835b93.tar.zst
nixlib-e4bfdb2da96852bcfe72181b5438d5047e835b93.zip
* Make Python 2.7 the default Python.
svn path=/nixpkgs/branches/modular-python/; revision=25394
-rw-r--r--pkgs/top-level/all-packages.nix11
1 files 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 { };