llvmPackages_{12,13,14,15,16,17,18,19,20,git}.compiler-rt: use final attrs
This commit is contained in:
committed by
Alyssa Ross
parent
a4977f1053
commit
b39cd95424
@@ -68,11 +68,11 @@ let
|
||||
src;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname version;
|
||||
|
||||
src = src';
|
||||
sourceRoot = "${src'.name}/${baseName}";
|
||||
sourceRoot = "${finalAttrs.src.name}/${baseName}";
|
||||
|
||||
patches =
|
||||
lib.optional (lib.versionOlder release_version "15") (getVersionFile "compiler-rt/codesign.patch") # Revert compiler-rt commit that makes codesign mandatory
|
||||
@@ -369,4 +369,4 @@ stdenv.mkDerivation {
|
||||
# `enable_execute_stack.c` Also doesn't sound like something WASM would support.
|
||||
|| (stdenv.hostPlatform.isWasm && haveLibc);
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user