llvmPackages_{12,13,14,15,16,17,18,19,20,git}.compiler-rt: move pname

This commit is contained in:
Tristan Ross
2025-03-29 23:11:30 -07:00
committed by Alyssa Ross
parent 1d97340555
commit 4f788a2720
@@ -48,8 +48,6 @@ let
inherit (stdenv.hostPlatform) isMusl isAarch64 isWindows;
noSanitizers = !haveLibc || bareMetal || isMusl || isDarwinStatic || isWindows;
pname = "compiler-rt${lib.optionalString (haveLibc) "-libc"}";
src' =
if monorepoSrc != null then
runCommand "compiler-rt-src-${version}" { inherit (monorepoSrc) passthru; } (
@@ -68,7 +66,8 @@ let
in
stdenv.mkDerivation (finalAttrs: {
inherit pname version;
pname = "compiler-rt${lib.optionalString (haveLibc) "-libc"}";
inherit version;
src = src';
sourceRoot = "${finalAttrs.src.name}/compiler-rt";