about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-05-29 10:58:49 +0200
committerPeter Simons <simons@cryp.to>2018-05-30 03:46:16 +0200
commit31706eeb93deaf4ea112276362802892c2b820ab (patch)
treedd4daabd2505ad44e35004949bb04739c9e3d6e3
parente168ae6a9d8622da40f7c463097c2032edfa3f1a (diff)
downloadnixlib-31706eeb93deaf4ea112276362802892c2b820ab.tar
nixlib-31706eeb93deaf4ea112276362802892c2b820ab.tar.gz
nixlib-31706eeb93deaf4ea112276362802892c2b820ab.tar.bz2
nixlib-31706eeb93deaf4ea112276362802892c2b820ab.tar.lz
nixlib-31706eeb93deaf4ea112276362802892c2b820ab.tar.xz
nixlib-31706eeb93deaf4ea112276362802892c2b820ab.tar.zst
nixlib-31706eeb93deaf4ea112276362802892c2b820ab.zip
haskell.compiler.ghc7103: disable format hardening
-rw-r--r--pkgs/development/compilers/ghc/7.10.3.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/7.10.3.nix b/pkgs/development/compilers/ghc/7.10.3.nix
index 6b1c909cf484..2565afab334b 100644
--- a/pkgs/development/compilers/ghc/7.10.3.nix
+++ b/pkgs/development/compilers/ghc/7.10.3.nix
@@ -161,6 +161,8 @@ stdenv.mkDerivation rec {
   # that in turn causes GHCi to abort
   stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
 
+  hardeningDisable = [ "format" ];
+
   postInstall = ''
     # Install the bash completion file.
     install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc