about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authornicoo <nicoo@mur.at>2023-10-27 17:06:10 +0000
committerMatthieu Coudron <886074+teto@users.noreply.github.com>2023-10-27 20:33:42 +0200
commit664ecf4f045f157cbf251a19b4f9ecb7d297e8aa (patch)
treef4b6b620e8ca045087e5eb176eb65651741bc5ee /pkgs/tools
parent74e111ef85b85cd53c134ce64f4c368ccc86dec1 (diff)
sops: set `meta.mainProgram`
This allows things like `lib.getExe sops` to get the path of the `sops`
executable.
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/security/sops/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/security/sops/default.nix b/pkgs/tools/security/sops/default.nix
index 6a1dc84fe11fd..1c1b058973602 100644
--- a/pkgs/tools/security/sops/default.nix
+++ b/pkgs/tools/security/sops/default.nix
@@ -21,6 +21,7 @@ buildGoModule rec {
     homepage = "https://github.com/getsops/sops";
     description = "Simple and flexible tool for managing secrets";
     changelog = "https://github.com/getsops/sops/blob/v${version}/CHANGELOG.rst";
+    mainProgram = "sops";
     maintainers = [ maintainers.marsam ];
     license = licenses.mpl20;
   };