diff --git a/modules/hooks.nix b/modules/hooks.nix index bbebdbd5..d4b73d09 100644 --- a/modules/hooks.nix +++ b/modules/hooks.nix @@ -1957,7 +1957,7 @@ in description = "Static analyzer for C++ code."; package = tools.clang-tools; entry = "${hooks.clang-tidy.package}/bin/clang-tidy --fix"; - types = [ "c" "c++" "c#" "objective-c" ]; + types_or = [ "c" "c++" "c#" "objective-c" ]; }; clippy = let