diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix index 8da833b0dc1..4494392cfef 100644 --- a/pkgs/development/python-modules/generic/default.nix +++ b/pkgs/development/python-modules/generic/default.nix @@ -3,7 +3,7 @@ (http://pypi.python.org/pypi/setuptools/), which represents a large number of Python packages nowadays. */ -{ python, setuptools, wrapPython, lib, offlineDistutils, setuptoolsSite }: +{ python, setuptools, wrapPython, lib, offlineDistutils, recursivePthLoader }: { name, namePrefix ? "python-" @@ -51,8 +51,8 @@ python.stdenv.mkDerivation (attrs // { buildInputs = [ python wrapPython setuptools ] ++ buildInputs ++ pythonPath; - # setuptoolsSite is responsible for loading pth files - propagatedBuildInputs = propagatedBuildInputs ++ [ setuptoolsSite ]; + # recursivePthLoader is responsible for loading pth files + propagatedBuildInputs = propagatedBuildInputs ++ [ recursivePthLoader ]; buildInputStrings = map toString buildInputs; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7dad6abe419..ba1068a112e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9,7 +9,7 @@ let pythonPackages = python.modules // rec { buildPythonPackage = import ../development/python-modules/generic { inherit (pkgs) lib; - inherit python wrapPython setuptools setuptoolsSite offlineDistutils; + inherit python wrapPython setuptools recursivePthLoader offlineDistutils; };