Re-enable 'nix fmt'
This commit is contained in:
parent
ee3bc4f152
commit
83a01cdd48
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue