telegram-desktop: remove cmake flags set to default values

This commit is contained in:
Ilya Fedin
2024-11-01 19:20:18 +04:00
parent 0eb0b2c62c
commit 7276705cb2
2 changed files with 1 additions and 3 deletions
@@ -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 ''
+1
View File
@@ -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)
];