nix: use upstream 'clang-format' hook
This commit is contained in:
parent
f8687ee5bd
commit
74825f34a7
1 changed files with 1 additions and 4 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue