3
0
Fork 0
forked from mirrors/nixpkgs

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 # that in turn causes GHCi to abort
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols"; stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
hardeningDisable = [ "format" ];
postInstall = '' postInstall = ''
for bin in "$out"/lib/${name}/bin/*; do for bin in "$out"/lib/${name}/bin/*; do
isELF "$bin" || continue isELF "$bin" || continue