summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-06-25 15:49:00 -0500
committerWill Dietz <w@wdtz.org>2018-06-25 15:50:36 -0500
commit61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd (patch)
tree869018a870943b13ec2c7b8675e5cbd9acdef0d4 /pkgs/development/compilers
parent449fbec9be1865fca59e973f05dd06d213820c5e (diff)
downloadnixlib-61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd.tar
nixlib-61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd.tar.gz
nixlib-61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd.tar.bz2
nixlib-61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd.tar.lz
nixlib-61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd.tar.xz
nixlib-61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd.tar.zst
nixlib-61e3bd20a04f9199744e9d0f38b3b7a5d442bdbd.zip
ghcHEAD: move hardeningDisable definition for cleaner diff against 8.4.3
NFCI (no functionality change intendend)
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/ghc/head.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix
index ec9ff56c4585..a71b08cd39fc 100644
--- a/pkgs/development/compilers/ghc/head.nix
+++ b/pkgs/development/compilers/ghc/head.nix
@@ -167,10 +167,10 @@ stdenv.mkDerivation rec {
   # that in turn causes GHCi to abort
   stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
 
-  hardeningDisable = [ "format" ];
-
   checkTarget = "test";
 
+  hardeningDisable = [ "format" ];
+
   postInstall = ''
     for bin in "$out"/lib/${name}/bin/*; do
       isELF "$bin" || continue