diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix index ddb0b8106a93..034f7093d49f 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/default.nix @@ -179,12 +179,9 @@ stdenv.mkDerivation (finalAttrs: { }; cmakeFlags = [ - (lib.cmakeBool "DESKTOP_APP_DISABLE_AUTOUPDATE" true) # We're allowed to used the API ID of the Snap package: (lib.cmakeFeature "TDESKTOP_API_ID" "611335") (lib.cmakeFeature "TDESKTOP_API_HASH" "d524b414d21f4d37f08684c1df41ac9c") - # See: https://github.com/NixOS/nixpkgs/pull/130827#issuecomment-885212649 - (lib.cmakeBool "DESKTOP_APP_USE_PACKAGED_FONTS" false) ]; installPhase = lib.optionalString stdenv.hostPlatform.isDarwin '' diff --git a/pkgs/by-name/_6/_64gram/package.nix b/pkgs/by-name/_6/_64gram/package.nix index dfca50eb902e..b921efbf2dbc 100644 --- a/pkgs/by-name/_6/_64gram/package.nix +++ b/pkgs/by-name/_6/_64gram/package.nix @@ -28,6 +28,7 @@ telegram-desktop.overrideAttrs (old: rec { ]; cmakeFlags = (old.cmakeFlags or []) ++ [ + (lib.cmakeBool "DESKTOP_APP_DISABLE_AUTOUPDATE" true) (lib.cmakeBool "disable_autoupdate" true) ];