stdenv.mkDerivation: move concretizeFlagImplications to global scope
This commit is contained in:
@@ -165,6 +165,10 @@ let
|
||||
"zerocallusedregs"
|
||||
];
|
||||
|
||||
concretizeFlagImplications =
|
||||
flag: impliesFlags: list:
|
||||
if elem flag list then (list ++ impliesFlags) else list;
|
||||
|
||||
removedOrReplacedAttrNames = [
|
||||
"checkInputs"
|
||||
"installCheckInputs"
|
||||
@@ -409,10 +413,6 @@ let
|
||||
actualValue;
|
||||
outputs' = if separateDebugInfo' then outputs ++ [ "debug" ] else outputs;
|
||||
|
||||
concretizeFlagImplications =
|
||||
flag: impliesFlags: list:
|
||||
if elem flag list then (list ++ impliesFlags) else list;
|
||||
|
||||
hardeningDisable' = unique (
|
||||
pipe hardeningDisable [
|
||||
# disabling fortify implies fortify3 should also be disabled
|
||||
|
||||
Reference in New Issue
Block a user