From 18196014aaca193f2ca7a04511f41655ca112dee Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Tue, 15 Oct 2024 16:24:23 -0700 Subject: [PATCH] gitleaks: Add `nix-update-script` This will make `nix-shell maintainers/scripts/update.nix --argstr package gitleaks` work. --- pkgs/tools/security/gitleaks/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/security/gitleaks/default.nix b/pkgs/tools/security/gitleaks/default.nix index 3a961dc97882..e807c255b523 100644 --- a/pkgs/tools/security/gitleaks/default.nix +++ b/pkgs/tools/security/gitleaks/default.nix @@ -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 = ''