From ff1a94e523ae9fb272e0581f068baee5d1068476 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 19 Mar 2024 03:14:51 +0100 Subject: treewide: add meta.mainProgram to packages with a single binary The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible. --- .../instant-messengers/telegram/kotatogram-desktop/default.nix | 1 + pkgs/applications/networking/instant-messengers/telegram/tg/default.nix | 1 + 2 files changed, 2 insertions(+) (limited to 'pkgs/applications/networking/instant-messengers/telegram') diff --git a/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix index dbd81911501ee..f0732ec039208 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix @@ -209,6 +209,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Kotatogram – experimental Telegram Desktop fork"; + mainProgram = "kotatogram-desktop"; longDescription = '' Unofficial desktop client for the Telegram messenger, based on Telegram Desktop. diff --git a/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix index f0c054fd7a901..7cdbda355d382 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix @@ -40,6 +40,7 @@ buildPythonApplication rec { meta = with lib; { description = "Terminal client for telegram"; + mainProgram = "tg"; homepage = "https://github.com/paul-nameless/tg"; license = licenses.unlicense; maintainers = with maintainers; [ sikmir ]; -- cgit 1.4.1