1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

llvm-3.8: Fix clang build on non-darwin.

'set-xcode-analyzer' is only installed on APPLE.
This commit is contained in:
Will Dietz 2016-10-09 09:31:15 -05:00 committed by Robin Gloster
parent 89cbb88d26
commit 5b3bf1fffa

View file

@ -39,7 +39,10 @@ let
ln -sv $out/bin/clang $out/bin/cpp
mkdir -p $python/bin $python/share/clang/
mv $out/bin/{git-clang-format,scan-view,set-xcode-analyzer} $python/bin
mv $out/bin/{git-clang-format,scan-view} $python/bin
if [ -e $out/bin/set-xcode-analyzer ]; then
mv $out/bin/set-xcode-analyzer $python/bin
fi
mv $out/share/clang/*.py $python/share/clang
rm $out/bin/c-index-test