Skip to content

Commit

Permalink
Merge pull request #61139 from adisbladis/pythonpackages-attr
Browse files Browse the repository at this point in the history
python-packages: Set pythonPackages attr in pythonPackages scope
  • Loading branch information
adisbladis authored May 8, 2019
2 parents 54f55a7 + 160261b commit 3e1fdfc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit 3e1fdfc

Please sign in to comment.