From 664ecf4f045f157cbf251a19b4f9ecb7d297e8aa Mon Sep 17 00:00:00 2001 From: nicoo Date: Fri, 27 Oct 2023 17:06:10 +0000 Subject: [PATCH] sops: set `meta.mainProgram` This allows things like `lib.getExe sops` to get the path of the `sops` executable. --- pkgs/tools/security/sops/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/sops/default.nix b/pkgs/tools/security/sops/default.nix index 6a1dc84fe11f..1c1b05897360 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; };