sourcetrail: fix

The LLVM headers it wants to copy are in
llvmPackages.clang-unwrapped.lib, not llvmPackages.clang-unwrapped.

(cherry picked from commit 76e2eb2d742d4670d59333c51ad87dcc0f71c6b8)
This commit is contained in:
Harrison Houghton 2021-06-24 19:51:52 -04:00 committed by github-actions[bot]
parent 265e982c9d
commit 0630946f2c
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ in stdenv.mkDerivation rec {
# Sourcetrail attempts to copy clang headers from the LLVM store path
substituteInPlace CMakeLists.txt \
--replace "\''${LLVM_BINARY_DIR}" '${llvmPackages.clang-unwrapped}'
--replace "\''${LLVM_BINARY_DIR}" '${lib.getLib llvmPackages.clang-unwrapped}'
patchShebangs script
ln -sf ${installJavaIndexer} script/update_java_indexer.sh