Skip to content

Commit

Permalink
add trufflehog to tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sandydoo committed Sep 19, 2024
1 parent 0b4048d commit 0ec644c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3508,7 +3508,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
'';
in
builtins.toString script;
package = pkgs.trufflehog;
package = tools.trufflehog;

# trufflehog expects to run across the whole repo, not particular files
pass_filenames = false;
Expand Down
2 changes: 2 additions & 0 deletions nix/tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
, texlive
, topiary ? null ## Added in nixpkgs on Dec 2, 2022
, treefmt
, trufflehog
, typos
, typstfmt
, typstyle ? null ## Add in nixpkgs added on commit 800ca60
Expand Down Expand Up @@ -152,6 +153,7 @@ in
taplo
topiary
treefmt
trufflehog
typos
typstfmt
typstyle
Expand Down

0 comments on commit 0ec644c

Please sign in to comment.