diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/unwrapped.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/unwrapped.nix index 2e0ae23cc855..e0d56e3c037e 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/unwrapped.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/telegram-desktop/unwrapped.nix @@ -158,6 +158,6 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://desktop.telegram.org/"; changelog = "https://github.com/telegramdesktop/tdesktop/releases/tag/v${finalAttrs.version}"; maintainers = with lib.maintainers; [ nickcao ]; - mainProgram = if stdenv.hostPlatform.isLinux then "telegram-desktop" else "Telegram"; + mainProgram = "Telegram"; }; })