Commit 7276705c authored by Ilya Fedin's avatar Ilya Fedin
Browse files

telegram-desktop: remove cmake flags set to default values

parent 0eb0b2c6
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -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)
  ];