sourcetrail: fix

The LLVM headers it wants to copy are in
llvmPackages.clang-unwrapped.lib, not llvmPackages.clang-unwrapped.
This commit is contained in:
Harrison Houghton
2021-06-25 08:55:38 -04:00
parent e7812f46fe
commit 76e2eb2d74
@@ -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