ghcHEAD: move hardeningDisable definition for cleaner diff against 8.4.3

NFCI (no functionality change intendend)
This commit is contained in:
Will Dietz 2018-06-25 15:49:00 -05:00
parent 449fbec9be
commit 61e3bd20a0

View File

@ -167,10 +167,10 @@ stdenv.mkDerivation rec {
# that in turn causes GHCi to abort
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
hardeningDisable = [ "format" ];
checkTarget = "test";
hardeningDisable = [ "format" ];
postInstall = ''
for bin in "$out"/lib/${name}/bin/*; do
isELF "$bin" || continue