llvmPackages.libcxx: Include libc sources in input

Without this, after llvm 6c4267fb1779bc5550bb413f33250f9365acfbc6  you
get a build failure because libcxx can't find headers which now live in
the libc tree.

Ref: https://discourse.llvm.org/t/rfc-project-hand-in-hand-llvm-libc-libc-code-sharing/77701/18
Ref: https://github.com/llvm/llvm-project/commit/6c4267fb1779bc5550bb413f33250f9365acfbc6
Signed-off-by: Peter Waller <p@pwaller.net>
This commit is contained in:
Peter Waller
2024-11-08 12:34:51 +00:00
parent 6011527ff3
commit 801a9a90db
@@ -44,6 +44,8 @@ let
cp -r ${monorepoSrc}/llvm/utils "$out/llvm"
'' + (lib.optionalString (lib.versionAtLeast release_version "14") ''
cp -r ${monorepoSrc}/third-party "$out"
'') + (lib.optionalString (lib.versionAtLeast release_version "20") ''
cp -r ${monorepoSrc}/libc "$out"
'') + ''
cp -r ${monorepoSrc}/runtimes "$out"
'' + (lib.optionalString (cxxabi == null) ''