buildPythonPackage: always add interpreter to passthru
This commit is contained in:
@@ -78,6 +78,7 @@ 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;
|
||||||
};
|
};
|
||||||
@@ -92,6 +93,7 @@ let
|
|||||||
# used by `nix-env`.
|
# used by `nix-env`.
|
||||||
name = removePythonPrefix oldAttrs.name;
|
name = removePythonPrefix oldAttrs.name;
|
||||||
pythonModule = false;
|
pythonModule = false;
|
||||||
|
inherit python;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user