buildPythonPackage: always add interpreter to passthru
This commit is contained in:
parent
254c72f560
commit
40c012bc85
|
@ -78,6 +78,7 @@ 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;
|
||||
};
|
||||
|
@ -92,6 +93,7 @@ let
|
|||
# used by `nix-env`.
|
||||
name = removePythonPrefix oldAttrs.name;
|
||||
pythonModule = false;
|
||||
inherit python;
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue