llvm9/clang.nix: fix clang on macos

Fixes #70243
This commit is contained in:
Matthew Bauer 2019-10-03 23:39:39 -04:00
parent 480d11f166
commit 42710203b0

View File

@ -71,6 +71,7 @@ let
# Move libclang to 'lib' output
moveToOutput "lib/libclang.*" "$lib"
moveToOutput "lib/libclang-cpp.*" "$lib"
substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \
--replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang."