mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
telegram-desktop: set meta.mainProgram correctly for >=5.15
This commit is contained in:
@@ -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";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user