diff --git a/pkgs/development/python-modules/python-myq/default.nix b/pkgs/development/python-modules/python-myq/default.nix index f596828e6f9f..88248abde3a3 100644 --- a/pkgs/development/python-modules/python-myq/default.nix +++ b/pkgs/development/python-modules/python-myq/default.nix @@ -22,6 +22,11 @@ buildPythonPackage rec { hash = "sha256-kW03swRXZdkh45I/up/FIxv0WGBRqTlDt1X71Ow/hrg="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace "poetry-core==1.6.1" "poetry-core" + ''; + nativeBuildInputs = [ poetry-core ];