fix compiler

This commit is contained in:
2025-06-02 19:00:49 +04:00
parent 6f6b5e8499
commit 07708cde99

View File

@@ -169,7 +169,7 @@ let
# our /include now has more than clang expects, so this specific dir still needs to point to cc.dev # our /include now has more than clang expects, so this specific dir still needs to point to cc.dev
# FIXME: could copy into a different subdir? # FIXME: could copy into a different subdir?
sed -i 's|set(CLANG_INCLUDE_DIRS.*$|set(CLANG_INCLUDE_DIRS "${cc.dev}/include")|g' $out/lib/cmake/clang/ClangConfig.cmake sed -i 's|set(CLANG_INCLUDE_DIRS.*$|set(CLANG_INCLUDE_DIRS "${cc.dev}/include")|g' $out/lib/cmake/clang/ClangConfig.cmake
# ${lib.getExe rdfind} -makesymlinks true $out/ # create links *within* the sysroot to save space ${lib.getExe rdfind} -makesymlinks true $out/ # create links *within* the sysroot to save space
''; '';
findClangNostdlibincPatch = findClangNostdlibincPatch =
x: x: