about summary refs log tree commit diff
path: root/pkgs/applications/system
diff options
context:
space:
mode:
authorstuebinm <stuebinm@disroot.org>2024-03-19 03:14:51 +0100
committerstuebinm <stuebinm@disroot.org>2024-03-19 03:14:51 +0100
commitff1a94e523ae9fb272e0581f068baee5d1068476 (patch)
treecbea47f2004a4fa8685163d630612cf748e72c1e /pkgs/applications/system
parentb06025f1533a1e07b6db3e75151caa155d1c7eb3 (diff)
downloadnixlib-ff1a94e523ae9fb272e0581f068baee5d1068476.tar
nixlib-ff1a94e523ae9fb272e0581f068baee5d1068476.tar.gz
nixlib-ff1a94e523ae9fb272e0581f068baee5d1068476.tar.bz2
nixlib-ff1a94e523ae9fb272e0581f068baee5d1068476.tar.lz
nixlib-ff1a94e523ae9fb272e0581f068baee5d1068476.tar.xz
nixlib-ff1a94e523ae9fb272e0581f068baee5d1068476.tar.zst
nixlib-ff1a94e523ae9fb272e0581f068baee5d1068476.zip
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.
Diffstat (limited to 'pkgs/applications/system')
-rw-r--r--pkgs/applications/system/glances/default.nix1
-rw-r--r--pkgs/applications/system/qjournalctl/default.nix1
-rw-r--r--pkgs/applications/system/systemdgenie/default.nix1
3 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/system/glances/default.nix b/pkgs/applications/system/glances/default.nix
index 7e66aacf25c1..7a4db20a5032 100644
--- a/pkgs/applications/system/glances/default.nix
+++ b/pkgs/applications/system/glances/default.nix
@@ -48,6 +48,7 @@ buildPythonApplication rec {
   meta = with lib; {
     homepage = "https://nicolargo.github.io/glances/";
     description = "Cross-platform curses-based monitoring tool";
+    mainProgram = "glances";
     changelog = "https://github.com/nicolargo/glances/blob/v${version}/NEWS.rst";
     license = licenses.lgpl3Only;
     maintainers = with maintainers; [ jonringer primeos koral ];
diff --git a/pkgs/applications/system/qjournalctl/default.nix b/pkgs/applications/system/qjournalctl/default.nix
index 563d0904fc53..d3bec7e306d5 100644
--- a/pkgs/applications/system/qjournalctl/default.nix
+++ b/pkgs/applications/system/qjournalctl/default.nix
@@ -36,6 +36,7 @@ stdenv.mkDerivation rec {
 
   meta = with lib; {
     description = "Qt-based graphical user interface for systemd's journalctl command";
+    mainProgram = "qjournalctl";
     homepage = "https://github.com/pentix/qjournalctl";
     license = licenses.gpl3Only;
     platforms = platforms.all;
diff --git a/pkgs/applications/system/systemdgenie/default.nix b/pkgs/applications/system/systemdgenie/default.nix
index ad009be56355..c8d747a8e122 100644
--- a/pkgs/applications/system/systemdgenie/default.nix
+++ b/pkgs/applications/system/systemdgenie/default.nix
@@ -24,6 +24,7 @@ stdenv.mkDerivation rec{
 
   meta = with lib; {
     description = "Systemd management utility";
+    mainProgram = "systemdgenie";
     homepage = "https://kde.org";
     license = licenses.gpl2;
     maintainers = [ maintainers.pasqui23 ];