haskell builder: allow disabling fortify hardening
This commit is contained in:
parent
a462683d10
commit
f8963e2ea7
@ -44,6 +44,7 @@
|
||||
, checkPhase ? "", preCheck ? "", postCheck ? ""
|
||||
, preFixup ? "", postFixup ? ""
|
||||
, shellHook ? ""
|
||||
, hardening_fortify ? true
|
||||
, coreSetup ? false # Use only core packages to build Setup.hs.
|
||||
, useCpphs ? false
|
||||
} @ args:
|
||||
@ -314,5 +315,6 @@ stdenv.mkDerivation ({
|
||||
// optionalAttrs (preFixup != "") { inherit preFixup; }
|
||||
// optionalAttrs (postFixup != "") { inherit postFixup; }
|
||||
// optionalAttrs (dontStrip) { inherit dontStrip; }
|
||||
// optionalAttrs (!hardening_fortify) { inherit hardening_fortify; }
|
||||
// optionalAttrs (stdenv.isLinux) { LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; }
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user