Merge pull request #309477 from Atry/patch-4
python: add an error message for debugging infinite recursion
This commit is contained in:
commit
d029669a9a
1 changed files with 4 additions and 1 deletions
|
@ -68,7 +68,10 @@ let
|
|||
passthru = (oldAttrs.passthru or {})// {
|
||||
pythonModule = python;
|
||||
pythonPath = [ ]; # Deprecated, for compatibility.
|
||||
requiredPythonModules = requiredPythonModules drv.propagatedBuildInputs;
|
||||
requiredPythonModules =
|
||||
builtins.addErrorContext
|
||||
"while calculating requiredPythonModules for ${drv.name or drv.pname}:"
|
||||
(requiredPythonModules drv.propagatedBuildInputs);
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue