git.iko.soy/typeable/nixpkgs
on master help sign in
ghc: disable pie, for now limit to musl since not default yet elsewhere
commit6ebb2c385bc0e1d192ba3e102d67f10ada4f15cb authorWill Dietz <w@wdtz.org> dateThu 15 Nov 2018, 12:32 (8 years ago) parentf910fd4
5 files changed+5−5
pkgs/development/compilers/ghc/8.2.2.nix+1−1 pkgs/development/compilers/ghc/8.4.4.nix+1−1 pkgs/development/compilers/ghc/8.6.1.nix+1−1 pkgs/development/compilers/ghc/8.6.2.nix+1−1 pkgs/development/compilers/ghc/head.nix+1−1
pkgs/development/compilers/ghc/8.2.2.nix+1−1
@@ -232,7 +232,7 @@ stdenv.mkDerivation (rec {
232232 checkTarget = "test";
233233 doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop."
234234
235− hardeningDisable = [ "format" ];
235+ hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
236236
237237 postInstall = ''
238238 for bin in "$out"/lib/${name}/bin/*; do
pkgs/development/compilers/ghc/8.4.4.nix+1−1
@@ -204,7 +204,7 @@ stdenv.mkDerivation (rec {
204204
205205 checkTarget = "test";
206206
207− hardeningDisable = [ "format" ];
207+ hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
208208
209209 postInstall = ''
210210 for bin in "$out"/lib/${name}/bin/*; do
pkgs/development/compilers/ghc/8.6.1.nix+1−1
@@ -189,7 +189,7 @@ stdenv.mkDerivation (rec {
189189
190190 checkTarget = "test";
191191
192− hardeningDisable = [ "format" ];
192+ hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
193193
194194 postInstall = ''
195195 for bin in "$out"/lib/${name}/bin/*; do
pkgs/development/compilers/ghc/8.6.2.nix+1−1
@@ -189,7 +189,7 @@ stdenv.mkDerivation (rec {
189189
190190 checkTarget = "test";
191191
192− hardeningDisable = [ "format" ];
192+ hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
193193
194194 postInstall = ''
195195 for bin in "$out"/lib/${name}/bin/*; do
pkgs/development/compilers/ghc/head.nix+1−1
@@ -171,7 +171,7 @@ stdenv.mkDerivation (rec {
171171
172172 checkTarget = "test";
173173
174− hardeningDisable = [ "format" ];
174+ hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
175175
176176 postInstall = ''
177177 for bin in "$out"/lib/${name}/bin/*; do