nix: use upstream 'clang-format' hook
This commit is contained in:
parent
f8687ee5bd
commit
74825f34a7
|
@ -54,10 +54,7 @@
|
||||||
hooks = {
|
hooks = {
|
||||||
clang-format = {
|
clang-format = {
|
||||||
enable = true;
|
enable = true;
|
||||||
name = "clang-format";
|
types_or = [ "c++" ];
|
||||||
entry = "${pkgs.clang-tools}/bin/clang-format -style=file -i";
|
|
||||||
types = [ "text" "c++" ];
|
|
||||||
language = "system";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs-fmt = {
|
nixpkgs-fmt = {
|
||||||
|
|
Loading…
Reference in a new issue