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/
This commit is contained in:
Michael Weiss 2020-08-16 21:14:44 +02:00
parent dc63d382bb
commit a86d317da8
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83

View file

@ -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"