···162 # that in turn causes GHCi to abort
163 stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
16400165 postInstall = ''
166 for bin in "$out"/lib/${name}/bin/*; do
167 isELF "$bin" || continue
···162 # that in turn causes GHCi to abort
163 stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
164165+ hardeningDisable = [ "format" ];
166+167 postInstall = ''
168 for bin in "$out"/lib/${name}/bin/*; do
169 isELF "$bin" || continue
+2
pkgs/development/compilers/ghc/8.4.2.nix
···172173 checkTarget = "test";
17400175 postInstall = ''
176 for bin in "$out"/lib/${name}/bin/*; do
177 isELF "$bin" || continue
···172173 checkTarget = "test";
174175+ hardeningDisable = [ "format" ];
176+177 postInstall = ''
178 for bin in "$out"/lib/${name}/bin/*; do
179 isELF "$bin" || continue
···8 sha256 = "0czccp4fcpf2ykp16xcrzdfmnircz1ynhls334q374xknd5747d2";
9 };
1011+ # fails 1 out of 1 tests with "BAD GLOBAL SYMBOLS" on i686
12+ # which can also be fixed with
13+ # hardeningDisable = stdenv.lib.optional stdenv.isi686 "pic";
14+ # but it's better to disable tests than loose ASLR on i686
15+ doCheck = !stdenv.isi686;
16+17 meta = {
18 description = "ATSC A/52 stream decoder";
19 homepage = http://liba52.sourceforge.net/;