diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix index 2b744c61ccb5..f3f8aa991852 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix @@ -12,6 +12,8 @@ stdenv.mkDerivation rec { rev = "6547c0b21b977b327b3c5e8142963f4bc246187a"; }; + NIX_CFLAGS_COMPILE = [ "-Wno-error=cast-function-type" ]; + buildInputs = [ libconfig libevent openssl readline zlib lua5_2 python pkgconfig jansson