mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 22:27:30 +03:00
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 New Issue
Block a user