Skip to content

Commit

Permalink
fix: treefmt pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
huuff committed Oct 14, 2024
1 parent b952888 commit 53b91cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pre-commit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

treefmt = {
enable = true;
packageOverrides.treefmt = treefmt;
package = treefmt;
# the only way I found to make it work
pass_filenames = false;
};

statix.enable = true;
Expand Down

0 comments on commit 53b91cd

Please sign in to comment.