Re-enable 'nix fmt'

This commit is contained in:
Sridhar Ratnakumar 2023-06-02 13:55:44 -04:00
parent ee3bc4f152
commit 83a01cdd48

View file

@ -52,6 +52,7 @@
# Development shell configuration # Development shell configuration
devShell = { devShell = {
# TODO: Remove this after https://github.com/numtide/treefmt-nix/issues/65
tools = hp: { tools = hp: {
treefmt = config.treefmt.build.wrapper; treefmt = config.treefmt.build.wrapper;
} // config.treefmt.build.programs; } // config.treefmt.build.programs;
@ -67,7 +68,6 @@
treefmt.config = { treefmt.config = {
inherit (config.flake-root) projectRootFile; inherit (config.flake-root) projectRootFile;
package = pkgs.treefmt; package = pkgs.treefmt;
flakeFormatter = false; # For https://github.com/numtide/treefmt-nix/issues/55
programs.ormolu.enable = true; programs.ormolu.enable = true;
programs.nixpkgs-fmt.enable = true; programs.nixpkgs-fmt.enable = true;