mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
ensure clang-format is using the same version on all platforms
This commit is contained in:
parent
3081e7ce90
commit
35dd19d785
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@
|
|||
hooks = {
|
||||
clang-format = {
|
||||
enable = true;
|
||||
# https://github.com/cachix/git-hooks.nix/pull/532
|
||||
package = pkgs.llvmPackages_latest.clang-tools;
|
||||
excludes = [
|
||||
# We don't want to format test data
|
||||
# ''tests/(?!nixos/).*\.nix''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue