From 075c5eb8d39f63a3fd9bcd903d7a19fe22a35224 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 1 Apr 2022 11:09:39 -0500 Subject: [PATCH] llvmPackages_14.clang: include clang-tools-extra in src for use Fixes #166833. The build creates a symlink for this assuming it's present, so be sure it's there when filtering the source for clang. Alternatively we could use LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR. --- pkgs/development/compilers/llvm/14/clang/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/llvm/14/clang/default.nix b/pkgs/development/compilers/llvm/14/clang/default.nix index 9544494b356e..5ff02d68de42 100644 --- a/pkgs/development/compilers/llvm/14/clang/default.nix +++ b/pkgs/development/compilers/llvm/14/clang/default.nix @@ -15,6 +15,7 @@ let mkdir -p "$out" cp -r ${monorepoSrc}/cmake "$out" cp -r ${monorepoSrc}/${pname} "$out" + cp -r ${monorepoSrc}/clang-tools-extra "$out" ''; sourceRoot = "${src.name}/${pname}";