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 6dca4d0
Show file tree
Hide file tree
Showing 2 changed files with 21 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
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 6dca4d0

Please sign in to comment.