Merge pull request #61139 from adisbladis/pythonpackages-attr

python-packages: Set pythonPackages attr in pythonPackages scope
This commit is contained in:
adisbladis 2019-05-08 22:55:45 +01:00 committed by GitHub
commit 3e1fdfcb25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,6 +130,9 @@ in {
wrapPython = callPackage ../development/interpreters/python/wrap-python.nix {inherit python; inherit (pkgs) makeSetupHook makeWrapper; };
# Dont take pythonPackages from "global" pkgs scope to avoid mixing python versions
pythonPackages = self;
# specials
recursivePthLoader = callPackage ../development/python-modules/recursive-pth-loader { };