ghc: disable format hardening

This commit is contained in:
Robin Gloster 2018-05-24 03:42:43 +02:00
parent d5224785d1
commit 33b8830a85
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -171,6 +171,8 @@ stdenv.mkDerivation rec {
checkTarget = "test"; checkTarget = "test";
doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop." 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 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
# treat that as a unary `{x,y,z,..}` repetition. # treat that as a unary `{x,y,z,..}` repetition.
postInstall = '' postInstall = ''