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.
passthru = (oldAttrs.passthru or {})// {
pythonModule = python;
inherit python;
pythonPath = [ ]; # Deprecated, for compatibility.
requiredPythonModules = requiredPythonModules drv.propagatedBuildInputs;
};
@ -93,7 +92,6 @@ let
# used by `nix-env`.
name = removePythonPrefix oldAttrs.name;
pythonModule = false;
inherit python;
};
});