1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

ensure clang-format is using the same version on all platforms

This commit is contained in:
Jörg Thalheim 2024-12-09 15:37:17 +01:00
parent 3081e7ce90
commit 35dd19d785

View file

@ -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''