haskell.compiler.ghc802: disable format hardening, else tests will fail

This commit is contained in:
Jan Malakhovski 2018-05-13 01:02:23 +00:00
parent e102dc716d
commit ee5660e7f6

View file

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