gitleaks: Add nix-update-script

This will make `nix-shell maintainers/scripts/update.nix --argstr
package gitleaks` work.
This commit is contained in:
Rebecca Turner 2024-10-15 16:24:23 -07:00
parent 19b11bedc8
commit 18196014aa
No known key found for this signature in database

View File

@ -6,6 +6,7 @@
gitleaks,
installShellFiles,
testers,
nix-update-script,
}:
buildGoModule rec {
@ -44,6 +45,8 @@ buildGoModule rec {
command = "${pname} version";
};
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Scan git repos (or files) for secrets";
longDescription = ''