about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJian Lin <75130626+jian-lin@users.noreply.github.com>2023-08-13 04:24:01 +0800
committerGitHub <noreply@github.com>2023-08-12 16:24:01 -0400
commit74b66861c0790a1a9e99614af4d479ad311089ed (patch)
treeb7c5829588be6dbd2338cbbebfd5b3b1e3ba1389
parent16db090af7de7a196ca84e52c3dfb95477cd6a54 (diff)
treewide: add meta.mainProgram (#248750)
-rw-r--r--pkgs/applications/misc/goldendict/default.nix1
-rw-r--r--pkgs/applications/video/dmlive/default.nix1
-rw-r--r--pkgs/tools/misc/xclip/default.nix1
-rw-r--r--pkgs/tools/security/age/default.nix1
-rw-r--r--pkgs/tools/typesetting/tectonic/default.nix1
5 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/goldendict/default.nix b/pkgs/applications/misc/goldendict/default.nix
index 6cee8ce5ece57..532965f9b2ee8 100644
--- a/pkgs/applications/misc/goldendict/default.nix
+++ b/pkgs/applications/misc/goldendict/default.nix
@@ -63,6 +63,7 @@ stdenv.mkDerivation rec {
     homepage = "http://goldendict.org/";
     description = "A feature-rich dictionary lookup program";
     platforms = with platforms; linux ++ darwin;
+    mainProgram = "goldendict";
     maintainers = with maintainers; [ gebner astsmtl sikmir ];
     license = licenses.gpl3Plus;
   };
diff --git a/pkgs/applications/video/dmlive/default.nix b/pkgs/applications/video/dmlive/default.nix
index b2d215ebee739..5c198ae0dcfa7 100644
--- a/pkgs/applications/video/dmlive/default.nix
+++ b/pkgs/applications/video/dmlive/default.nix
@@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec {
     description = "A tool to play and record videos or live streams with danmaku";
     homepage = "https://github.com/THMonster/dmlive";
     license = licenses.mit;
+    mainProgram = "dmlive";
     maintainers = with maintainers; [ nickcao ];
   };
 }
diff --git a/pkgs/tools/misc/xclip/default.nix b/pkgs/tools/misc/xclip/default.nix
index 6c5857f1c9a1d..7a250671413d5 100644
--- a/pkgs/tools/misc/xclip/default.nix
+++ b/pkgs/tools/misc/xclip/default.nix
@@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
     description = "Tool to access the X clipboard from a console application";
     homepage = "https://github.com/astrand/xclip";
     license = lib.licenses.gpl2;
+    mainProgram = "xclip";
     platforms = lib.platforms.all;
   };
 }
diff --git a/pkgs/tools/security/age/default.nix b/pkgs/tools/security/age/default.nix
index 588285973e479..05c682d865aef 100644
--- a/pkgs/tools/security/age/default.nix
+++ b/pkgs/tools/security/age/default.nix
@@ -57,6 +57,7 @@ buildGoModule rec {
     homepage = "https://age-encryption.org/";
     description = "Modern encryption tool with small explicit keys";
     license = licenses.bsd3;
+    mainProgram = "age";
     maintainers = with maintainers; [ tazjin ];
   };
 }
diff --git a/pkgs/tools/typesetting/tectonic/default.nix b/pkgs/tools/typesetting/tectonic/default.nix
index c2bace4660922..3c8713a4fe532 100644
--- a/pkgs/tools/typesetting/tectonic/default.nix
+++ b/pkgs/tools/typesetting/tectonic/default.nix
@@ -46,6 +46,7 @@ rustPlatform.buildRustPackage rec {
     homepage = "https://tectonic-typesetting.github.io/";
     changelog = "https://github.com/tectonic-typesetting/tectonic/blob/tectonic@${version}/CHANGELOG.md";
     license = with licenses; [ mit ];
+    mainProgram = "tectonic";
     maintainers = with maintainers; [ lluchs doronbehar ];
   };
 }