clang-tools: fix missing extra tools

fixes https://github.com/NixOS/nixpkgs/issues/128909
This commit is contained in:
Jörg Thalheim
2021-07-04 12:08:24 +02:00
parent ee9047870d
commit f69522b227
@@ -17,6 +17,9 @@ let
mv clang-* clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
mv clang-tools-extra-* $sourceRoot/tools/extra
substituteInPlace $sourceRoot/tools/extra/clangd/quality/CompletionModel.cmake \
--replace ' ''${CMAKE_SOURCE_DIR}/../clang-tools-extra' ' ''${CMAKE_SOURCE_DIR}/tools/extra'
'';
nativeBuildInputs = [ cmake python3 ]