3
0
Fork 0
forked from mirrors/nixpkgs

ghc: disable pie, for now limit to musl since not default yet elsewhere

This commit is contained in:
Will Dietz 2018-11-15 12:32:50 -06:00 committed by Will Dietz
parent f910fd4995
commit 6ebb2c385b
5 changed files with 5 additions and 5 deletions

View file

@ -232,7 +232,7 @@ stdenv.mkDerivation (rec {
checkTarget = "test";
doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop."
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
postInstall = ''
for bin in "$out"/lib/${name}/bin/*; do

View file

@ -204,7 +204,7 @@ stdenv.mkDerivation (rec {
checkTarget = "test";
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
postInstall = ''
for bin in "$out"/lib/${name}/bin/*; do

View file

@ -189,7 +189,7 @@ stdenv.mkDerivation (rec {
checkTarget = "test";
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
postInstall = ''
for bin in "$out"/lib/${name}/bin/*; do

View file

@ -189,7 +189,7 @@ stdenv.mkDerivation (rec {
checkTarget = "test";
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
postInstall = ''
for bin in "$out"/lib/${name}/bin/*; do

View file

@ -171,7 +171,7 @@ stdenv.mkDerivation (rec {
checkTarget = "test";
hardeningDisable = [ "format" ];
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
postInstall = ''
for bin in "$out"/lib/${name}/bin/*; do