Advance treefmt-nix, again.

This commit is contained in:
Sridhar Ratnakumar 2022-12-21 20:27:00 -05:00
parent 1706660e7b
commit 33436a1fde
2 changed files with 6 additions and 6 deletions

6
flake.lock generated
View file

@ -128,11 +128,11 @@
},
"treefmt-nix": {
"locked": {
"lastModified": 1671656594,
"narHash": "sha256-FsXG+GgpiBBt+w8gx3K6xuhiFBpUrBshzgGUXdVB7b8=",
"lastModified": 1671672285,
"narHash": "sha256-L8X1c3yoWPJtvnAY07DaYlH57lBCMhpXw2H6jXLjFpQ=",
"owner": "Platonic-Systems",
"repo": "treefmt-nix",
"rev": "05c06a8a606c88f94c09a7b768484d92869ea906",
"rev": "5694629389b04ffc0110b0c59f482ebd2213ca99",
"type": "github"
},
"original": {

View file

@ -26,8 +26,8 @@
haskell-template.root = ./.;
};
buildTools = hp: {
treefmt = config.treefmt.wrapper;
} // config.treefmt.programs;
treefmt = config.treefmt.build.wrapper;
} // config.treefmt.build.programs;
# overrides = self: super: {}
hlsCheck.enable = true;
hlintCheck.enable = true;
@ -72,7 +72,7 @@
};
fmt = {
description = "Format the source tree";
exec = "${lib.getExe config.treefmt.wrapper}";
exec = "${lib.getExe config.treefmt.build.wrapper}";
category = "Dev Tools ";
};
run = {