summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarrison Houghton <hora.rhino@gmail.com>2021-06-24 19:51:52 -0400
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-06-25 17:21:59 +0000
commit0630946f2c991e468dd7efa415feecd25e8b91fa (patch)
treec8f2dec05e756c25e7d3b40aa39bb44d9e35eaa2
parentMerge pull request #128110 from NixOS/backport-128108-to-release-21.05 (diff)
downloadnixpkgs-origin/backport-128054-to-release-21.05.tar.gz
The LLVM headers it wants to copy are in llvmPackages.clang-unwrapped.lib, not llvmPackages.clang-unwrapped. (cherry picked from commit 76e2eb2d742d4670d59333c51ad87dcc0f71c6b8)
-rw-r--r--pkgs/development/tools/sourcetrail/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/sourcetrail/default.nix b/pkgs/development/tools/sourcetrail/default.nix
index 7b06e720caab..6ba4eecac480 100644
--- a/pkgs/development/tools/sourcetrail/default.nix
+++ b/pkgs/development/tools/sourcetrail/default.nix
@@ -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