mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +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 = {
|
hooks = {
|
||||||
clang-format = {
|
clang-format = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# https://github.com/cachix/git-hooks.nix/pull/532
|
||||||
|
package = pkgs.llvmPackages_latest.clang-tools;
|
||||||
excludes = [
|
excludes = [
|
||||||
# We don't want to format test data
|
# We don't want to format test data
|
||||||
# ''tests/(?!nixos/).*\.nix''
|
# ''tests/(?!nixos/).*\.nix''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue