forked from mirrors/nixpkgs
haskell.compiler.ghc802: disable format hardening, else tests will fail
This commit is contained in:
parent
e102dc716d
commit
ee5660e7f6
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue