buildPythonPackage: avoid recursion
Sometimes an infinite recursion error shows up.
This commit is contained in:
parent
302e6a7512
commit
09147517ea
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue