diff --git a/pkgs/development/python-modules/aioambient/default.nix b/pkgs/development/python-modules/aioambient/default.nix index 3e5c0c8dfe89..d60a62496cd9 100644 --- a/pkgs/development/python-modules/aioambient/default.nix +++ b/pkgs/development/python-modules/aioambient/default.nix @@ -27,6 +27,11 @@ buildPythonPackage rec { sha256 = "sha256-blejTXyLe3B2kNytBh+zJz0Q0xDP+Vo2SV9gc7OX6S0="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'websockets = ">=8.1,<10.0"' 'websockets = ">=8.1,<11.0"' + ''; + nativeBuildInputs = [ poetry-core ];