Skip to content

Commit

Permalink
Upgrade treefmt package to support hidden files
Browse files Browse the repository at this point in the history
  • Loading branch information
sellout committed Oct 22, 2024
1 parent 46752e4 commit 3df96a4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .config/project/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
programs = {
treefmt = {
enable = true;
## NB: Treefmt 2 formats “hidden” files, which are ignored by the default
## version. See numtide/treefmt-nix#228.
package = pkgs.treefmt2;
## NB: This is normally "flake.nix", but since this repo contains
## sub-flakes, we pick a random file that is unlikely to exist
## anywhere else in the tree (and we can’t use .git/config, because it
Expand Down
29 changes: 17 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 3df96a4

Please sign in to comment.