From 33b8830a85242ad09898a0c90a6f0494c34132ca Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Thu, 24 May 2018 03:42:43 +0200 Subject: [PATCH] ghc: disable format hardening --- pkgs/development/compilers/ghc/8.2.2.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/ghc/8.2.2.nix b/pkgs/development/compilers/ghc/8.2.2.nix index b1bf249149d..6acf3f10ff4 100644 --- a/pkgs/development/compilers/ghc/8.2.2.nix +++ b/pkgs/development/compilers/ghc/8.2.2.nix @@ -171,6 +171,8 @@ stdenv.mkDerivation rec { checkTarget = "test"; doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop." + hardeningDisable = [ "format" ]; + # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't # treat that as a unary `{x,y,z,..}` repetition. postInstall = ''