Skip to content

Commit

Permalink
clang-tools: fix missing extra tools
Browse files Browse the repository at this point in the history
fixes #128909
  • Loading branch information
Mic92 committed Jul 4, 2021
1 parent ee90478 commit f69522b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/compilers/llvm/12/clang/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down

1 comment on commit f69522b

@jtacoma
Copy link
Contributor

@jtacoma jtacoma commented on f69522b Jul 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I wanted to fix this too, but didn't see how to do it.

Please sign in to comment.