llvmPackages.libc: rename shim .so to .tpl

This makes it not get deleted with cleanSource.
This commit is contained in:
K900
2025-02-14 12:25:15 +03:00
parent 6d15f89453
commit 8c76cbea6a
2 changed files with 1 additions and 1 deletions
@@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: {
'';
postInstall = lib.optionalString (!isFullBuild) ''
substituteAll ${./libc-shim.so} $out/lib/libc.so
substituteAll ${./libc-shim.tpl} $out/lib/libc.so
'';
libc = if (!isFullBuild) then stdenv.cc.libc else null;