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. --- pkgs/applications/networking/newsreaders/pan/default.nix | 1 + pkgs/applications/networking/newsreaders/raven-reader/default.nix | 1 + 2 files changed, 2 insertions(+) (limited to 'pkgs/applications/networking/newsreaders') diff --git a/pkgs/applications/networking/newsreaders/pan/default.nix b/pkgs/applications/networking/newsreaders/pan/default.nix index 82f8ec4d55b1..24e2585a24db 100644 --- a/pkgs/applications/networking/newsreaders/pan/default.nix +++ b/pkgs/applications/networking/newsreaders/pan/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A GTK-based Usenet newsreader good at both text and binaries"; + mainProgram = "pan"; homepage = "http://pan.rebelbase.com/"; maintainers = [ maintainers.eelco ]; platforms = platforms.linux; diff --git a/pkgs/applications/networking/newsreaders/raven-reader/default.nix b/pkgs/applications/networking/newsreaders/raven-reader/default.nix index b78afb6a726e..46970cbef118 100644 --- a/pkgs/applications/networking/newsreaders/raven-reader/default.nix +++ b/pkgs/applications/networking/newsreaders/raven-reader/default.nix @@ -30,6 +30,7 @@ appimageTools.wrapType2 { meta = with lib; { description = "Open source desktop news reader with flexible settings to optimize your experience"; + mainProgram = "raven-reader"; homepage = "https://ravenreader.app/"; license = licenses.mit; maintainers = with maintainers; [ wolfangaukang ]; -- cgit v1.2.3