Revert "buildPythonPackage: always add interpreter to passthru"

This reverts commit 40c012bc85.
This commit is contained in:
Gabriel Ebner 2020-05-03 11:53:03 +02:00
parent 3188961af1
commit 1e38e7bec9

View file

@ -78,7 +78,6 @@ let
# Use passthru in order to prevent rebuilds when possible. # Use passthru in order to prevent rebuilds when possible.
passthru = (oldAttrs.passthru or {})// { passthru = (oldAttrs.passthru or {})// {
pythonModule = python; pythonModule = python;
inherit python;
pythonPath = [ ]; # Deprecated, for compatibility. pythonPath = [ ]; # Deprecated, for compatibility.
requiredPythonModules = requiredPythonModules drv.propagatedBuildInputs; requiredPythonModules = requiredPythonModules drv.propagatedBuildInputs;
}; };
@ -93,7 +92,6 @@ let
# used by `nix-env`. # used by `nix-env`.
name = removePythonPrefix oldAttrs.name; name = removePythonPrefix oldAttrs.name;
pythonModule = false; pythonModule = false;
inherit python;
}; };
}); });