Skip to content

Commit

Permalink
Upgrade treefmt package to support hidden files (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
sellout authored Oct 22, 2024
2 parents 7ad56a1 + 4edae5d commit 598d6b9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
5 changes: 4 additions & 1 deletion base/.config/project/treefmt.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
{pkgs, ...}: {
programs.treefmt = {
## NB: Treefmt 2 formats “hidden” files, which are ignored by the default
## version. See numtide/treefmt-nix#228.
package = pkgs.treefmt2;
projectRootFile = "flake.nix";
programs = {
## Nix formatter
Expand Down
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 598d6b9

Please sign in to comment.