about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-08-13 21:30:42 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-08-13 21:30:42 +0200
commita0aae85012ec4807d46495f44246ea092db2570e (patch)
tree6273fca8bd8ef23a99ec260b3a95f4e4ab06c4e8 /pkgs
parent2d5a04e5bdb3e5817352d6c31eb56f0653cbe50c (diff)
downloadnixlib-a0aae85012ec4807d46495f44246ea092db2570e.tar
nixlib-a0aae85012ec4807d46495f44246ea092db2570e.tar.gz
nixlib-a0aae85012ec4807d46495f44246ea092db2570e.tar.bz2
nixlib-a0aae85012ec4807d46495f44246ea092db2570e.tar.lz
nixlib-a0aae85012ec4807d46495f44246ea092db2570e.tar.xz
nixlib-a0aae85012ec4807d46495f44246ea092db2570e.tar.zst
nixlib-a0aae85012ec4807d46495f44246ea092db2570e.zip
Python: move some attributes together with the rest of the Python-related attributes.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/all-packages.nix30
1 files changed, 11 insertions, 19 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index f6ae62db18db..d50e812eaf00 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6336,6 +6336,7 @@ with pkgs;
   python = python2;
   python2 = python27;
   python3 = python36;
+  pypy = pypy27;
 
   # Python interpreter that is build with all modules, including tkinter.
   # These are for compatibility and should not be used inside Nixpkgs.
@@ -6369,17 +6370,22 @@ with pkgs;
     self = python36;
   };
 
-  # Should eventually be moved inside Python interpreters.
-  python-setup-hook = callPackage ../development/interpreters/python/setup-hook.nix { };
-
-  pypy = pypy27;
-
   pypy27 = callPackage ../development/interpreters/python/pypy/2.7 {
     self = pypy27;
     python = python27.override{x11Support=true;};
     db = db.override { dbmSupport = true; };
   };
 
+  # Python package sets.
+  python27Packages = lib.hiPrioSet (recurseIntoAttrs python27.pkgs);
+  python34Packages = python34.pkgs;
+  python35Packages = python35.pkgs;
+  python36Packages = recurseIntoAttrs python36.pkgs;
+  pypyPackages = pypy.pkgs;
+
+  # Should eventually be moved inside Python interpreters.
+  python-setup-hook = callPackage ../development/interpreters/python/setup-hook.nix { };
+
   python2nix = callPackage ../tools/package-management/python2nix { };
 
   pythonDocs = recurseIntoAttrs (callPackage ../development/interpreters/python/cpython/docs {});
@@ -10914,20 +10920,6 @@ with pkgs;
     sqitchModule = perlPackages.AppSqitch;
   };
 
-  ### DEVELOPMENT / PYTHON MODULES
-
-  # Python package sets.
-
-  python27Packages = lib.hiPrioSet (recurseIntoAttrs python27.pkgs);
-
-  python34Packages = python34.pkgs;
-
-  python35Packages = python35.pkgs;
-
-  python36Packages = recurseIntoAttrs python36.pkgs;
-
-  pypyPackages = pypy.pkgs;
-
   ### DEVELOPMENT / R MODULES
 
   R = callPackage ../applications/science/math/R {