mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
Co-authored-by: semgrep-companion-app[bot] <218312740+semgrep-companion-app[bot]@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
29 lines
581 B
Nix
29 lines
581 B
Nix
{ pkgs }:
|
|
let
|
|
# In LLVM 22, run-clang-tidy.py moved from share/clang/ to bin/, so nixpkgs
|
|
# clang-tools no longer links it. Wrap it manually.
|
|
runClangTidy = pkgs.writeShellScriptBin "run-clang-tidy" ''
|
|
exec ${pkgs.python3}/bin/python3 ${pkgs.llvmPackages_22.clang-unwrapped}/bin/run-clang-tidy "$@"
|
|
'';
|
|
in
|
|
{
|
|
commonPackages = with pkgs; [
|
|
ccache
|
|
cmake
|
|
conan
|
|
gcovr
|
|
git
|
|
gnumake
|
|
llvmPackages_22.clang-tools
|
|
mold
|
|
ninja
|
|
patchelf
|
|
perl # needed for openssl
|
|
pkg-config
|
|
pre-commit
|
|
python3
|
|
runClangTidy
|
|
vim
|
|
];
|
|
}
|