Unverified Commit 18196014 authored by Rebecca Turner's avatar Rebecca Turner
Browse files

gitleaks: Add `nix-update-script`

This will make `nix-shell maintainers/scripts/update.nix --argstr
package gitleaks` work.
parent 19b11bed
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 = ''