Skip to content

Commit 6f28092

Browse files
committed
build(nix): Upgrade clang-tools from version 17 to latest
Updates flake.nix to use latest clang-tools package instead of pinned version 17. This matches the local development environment which uses clang-format 19.1.7, preventing format-check failures due to version differences in formatting behavior. Fixes CI/CD format-check failures.
1 parent 06e1c48 commit 6f28092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
pkgs.catch2_3
143143

144144
# 🆕 Add these for better code hygiene
145-
pkgs.clang-tools_17 # Provides clang-tidy, clang-format, etc.
145+
pkgs.clang-tools # Provides clang-tidy, clang-format, etc. (latest version)
146146
pkgs.reuse # License checking
147147
pkgs.coreutils # Needed for realpath and other shell utilities
148148
];
@@ -181,7 +181,7 @@
181181

182182
# Check that the code is formatted correctly using clang-format.
183183
format-check = pkgs.runCommand "format-check" {
184-
buildInputs = [ pkgs.clang-tools_17 ];
184+
buildInputs = [ pkgs.clang-tools ];
185185
src = ./.;
186186
} ''
187187
cp -r $src/. .

0 commit comments

Comments
 (0)