From 53b91cdc47ed3014516292cdfb7ae9c4d02a4b04 Mon Sep 17 00:00:00 2001 From: Haf Date: Mon, 14 Oct 2024 19:51:36 +0200 Subject: [PATCH] fix: treefmt pre-commit --- pre-commit.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pre-commit.nix b/pre-commit.nix index 3c21f3b..5077f82 100644 --- a/pre-commit.nix +++ b/pre-commit.nix @@ -14,7 +14,9 @@ treefmt = { enable = true; - packageOverrides.treefmt = treefmt; + package = treefmt; + # the only way I found to make it work + pass_filenames = false; }; statix.enable = true;