nix: use upstream 'clang-format' hook

This commit is contained in:
Bruno BELANYI 2021-10-09 13:24:24 +02:00
parent f8687ee5bd
commit 74825f34a7

View file

@ -54,10 +54,7 @@
hooks = {
clang-format = {
enable = true;
name = "clang-format";
entry = "${pkgs.clang-tools}/bin/clang-format -style=file -i";
types = [ "text" "c++" ];
language = "system";
types_or = [ "c++" ];
};
nixpkgs-fmt = {