telegram-desktop: remove cmake flags set to default values
This commit is contained in:
@@ -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 ''
|
||||
|
||||
@@ -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)
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user