From 9f52572d09a9b8ea12c7536ec203e65c5537436b Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Tue, 15 Nov 2022 01:17:31 +0300 Subject: [PATCH] mautrix-telegram: fix build ZHF: #199919 --- pkgs/servers/mautrix-telegram/default.nix | 5 +++++ 1 file changed, 5 insertions(+) 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