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
|
let
|
||||||
inherit (python) stdenv;
|
inherit (python) stdenv;
|
||||||
|
|
||||||
|
name_ = name;
|
||||||
|
|
||||||
self = toPythonModule (stdenv.mkDerivation ((builtins.removeAttrs attrs [
|
self = toPythonModule (stdenv.mkDerivation ((builtins.removeAttrs attrs [
|
||||||
"disabled" "checkPhase" "checkInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts" "format"
|
"disabled" "checkPhase" "checkInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts" "format"
|
||||||
]) // {
|
]) // {
|
||||||
|
|
||||||
name = namePrefix + name;
|
name = namePrefix + name_;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
python
|
python
|
||||||
|
|
Loading…
Reference in a new issue