haskellPackages: remove unnecessary hardening handling
This commit is contained in:
parent
1eed9435d5
commit
23b4e6e19d
@ -45,7 +45,6 @@
|
|||||||
, checkPhase ? "", preCheck ? "", postCheck ? ""
|
, checkPhase ? "", preCheck ? "", postCheck ? ""
|
||||||
, preFixup ? "", postFixup ? ""
|
, preFixup ? "", postFixup ? ""
|
||||||
, shellHook ? ""
|
, shellHook ? ""
|
||||||
, hardening_fortify ? true
|
|
||||||
, coreSetup ? false # Use only core packages to build Setup.hs.
|
, coreSetup ? false # Use only core packages to build Setup.hs.
|
||||||
, useCpphs ? false
|
, useCpphs ? false
|
||||||
} @ args:
|
} @ args:
|
||||||
@ -320,6 +319,5 @@ stdenv.mkDerivation ({
|
|||||||
// optionalAttrs (preFixup != "") { inherit preFixup; }
|
// optionalAttrs (preFixup != "") { inherit preFixup; }
|
||||||
// optionalAttrs (postFixup != "") { inherit postFixup; }
|
// optionalAttrs (postFixup != "") { inherit postFixup; }
|
||||||
// optionalAttrs (dontStrip) { inherit dontStrip; }
|
// optionalAttrs (dontStrip) { inherit dontStrip; }
|
||||||
// optionalAttrs (!hardening_fortify) { inherit hardening_fortify; }
|
|
||||||
// optionalAttrs (stdenv.isLinux) { LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; }
|
// optionalAttrs (stdenv.isLinux) { LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; }
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user