Merge pull request #129231 from Mic92/clang-tools

clang-tools: fix missing extra tools
This commit is contained in:
Jörg Thalheim 2021-07-04 18:31:31 +01:00 committed by GitHub
commit 0a17f3b530
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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