diff --git a/pkgs/servers/mautrix-telegram/default.nix b/pkgs/servers/mautrix-telegram/default.nix index 1458a20f12f3..d52eade028b7 100644 --- a/pkgs/servers/mautrix-telegram/default.nix +++ b/pkgs/servers/mautrix-telegram/default.nix @@ -33,6 +33,11 @@ in python.pkgs.buildPythonPackage rec { patches = [ ./0001-Re-add-entrypoint.patch ]; + postPatch = '' + substituteInPlace requirements.txt \ + --replace "asyncpg>=0.20,<0.27" "asyncpg>=0.20" + ''; + propagatedBuildInputs = with python.pkgs; ([ ruamel-yaml python-magic