Skip to content

Commit 9537c17

Browse files
committed
style: replace programs.nixfmt-rfc-style with programs.nixfmt because the former generated eval warnings
1 parent 87cbae2 commit 9537c17

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

flake.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
let
1919
nixpkgs = import pkgs { inherit system; };
2020
treefmt = treefmt-nix.lib.evalModule nixpkgs {
21-
# Used to find the project root
22-
# projectRootFile = "flake.nix";
23-
programs.nixfmt-rfc-style.enable = true;
21+
# nixfmt is nixfmt-rfc-style
22+
programs.nixfmt.enable = true;
2423
};
2524
in
2625
{

0 commit comments

Comments
 (0)