From 33436a1fde5512b270c5beb2280ae799b77e40a7 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 21 Dec 2022 20:27:00 -0500 Subject: [PATCH] Advance treefmt-nix, again. --- flake.lock | 6 +++--- flake.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 855e451..a514e9e 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/flake.nix b/flake.nix index de2b02c..0b1f1cc 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = {