all-packages.nix: pythonXPackages point to pythonXXPackages

instead of pythonXX.pkgs

should help with ofborg not building
commits which have `python3Packages` instead of
`python39Packages`
see https://github.com/NixOS/ofborg/issues/577

dontRecurseIntoAttrs is used to avoid a performance penalty
This commit is contained in:
Artturin 2022-03-27 22:22:15 +03:00
parent 70148dac41
commit 6e6a3202c4

View File

@ -14052,6 +14052,11 @@ with pkgs;
# When switching these sets, please update docs at ../../doc/languages-frameworks/python.md
python2 = python27;
python3 = python39;
# pythonPackages further below, but assigned here because they need to be in sync
python2Packages = dontRecurseIntoAttrs python27Packages;
python3Packages = dontRecurseIntoAttrs python39Packages;
pypy = pypy2;
pypy2 = pypy27;
pypy3 = pypy38;
@ -14093,10 +14098,6 @@ with pkgs;
x11Support = true;
};
# pythonPackages further below, but assigned here because they need to be in sync
python2Packages = python2.pkgs;
python3Packages = python3.pkgs;
pythonInterpreters = callPackage ./../development/interpreters/python { };
inherit (pythonInterpreters) python27 python37 python38 python39 python310 python311 python3Minimal pypy27 pypy38 pypy37 rustpython;