python2-packages: move into resholve

This commit is contained in:
Aliaksandr
2026-05-31 15:14:58 +03:00
parent 5366dabecf
commit 2c87389c6f
10 changed files with 18 additions and 18 deletions
@@ -79,7 +79,7 @@ let
keep = self: hooks self { };
optionalExtensions = cond: as: lib.optionals cond as;
pythonExtension = import ../../../top-level/python-packages.nix;
python2Extension = import ../../../top-level/python2-packages.nix;
python2Extension = import ../../misc/resholve/python2-packages.nix;
extensions = lib.composeManyExtensions (
[
hooks
@@ -0,0 +1,17 @@
# Extension with Python 2 packages that is overlaid on top
# of the Python 3 packages set. This way, Python 2+3 compatible
# packages can still be used.
self: super:
with self;
with super;
{
bootstrapped-pip = toPythonModule (callPackage ./python2-modules/bootstrapped-pip { });
pip = callPackage ./python2-modules/pip { };
setuptools = callPackage ./python2-modules/setuptools { };
wheel = callPackage ./python2-modules/wheel { };
}
-17
View File
@@ -1,17 +0,0 @@
# Extension with Python 2 packages that is overlaid on top
# of the Python 3 packages set. This way, Python 2+3 compatible
# packages can still be used.
self: super:
with self;
with super;
{
bootstrapped-pip = toPythonModule (callPackage ../development/python2-modules/bootstrapped-pip { });
pip = callPackage ../development/python2-modules/pip { };
setuptools = callPackage ../development/python2-modules/setuptools { };
wheel = callPackage ../development/python2-modules/wheel { };
}