From a86d317da859bfcef5c96e049d4f803cabb0591f Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Sun, 16 Aug 2020 21:14:44 +0200 Subject: [PATCH] tdesktop: Use the API ID of the Snap package Thanks to Ilya Fedin and John Preston we're now allowed to reuse the API ID of the Snap package to avoid hitting rate limits. This finally resolves #55271 #YAY \o/ --- .../instant-messengers/telegram/tdesktop/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix index a1fd51a01c8..014e22bc512 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix @@ -52,9 +52,9 @@ mkDerivation rec { cmakeFlags = [ "-Ddisable_autoupdate=ON" - # TODO: Officiall API credentials for Nixpkgs - # (see: https://github.com/NixOS/nixpkgs/issues/55271): - "-DTDESKTOP_API_TEST=ON" + # We're allowed to used the API ID of the Snap package: + "-DTDESKTOP_API_ID=611335" + "-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c" "-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF" "-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF" "-DDESKTOP_APP_USE_PACKAGED_GSL=OFF"