buildPythonPackage: avoid recursion
Sometimes an infinite recursion error shows up.
This commit is contained in:
parent
302e6a7512
commit
09147517ea
@ -104,11 +104,13 @@ else
|
||||
let
|
||||
inherit (python) stdenv;
|
||||
|
||||
name_ = name;
|
||||
|
||||
self = toPythonModule (stdenv.mkDerivation ((builtins.removeAttrs attrs [
|
||||
"disabled" "checkPhase" "checkInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts" "format"
|
||||
]) // {
|
||||
|
||||
name = namePrefix + name;
|
||||
name = namePrefix + name_;
|
||||
|
||||
nativeBuildInputs = [
|
||||
python
|
||||
|
Loading…
Reference in New Issue
Block a user