haskell.compiler.ghc7103: disable format hardening

This commit is contained in:
Peter Simons
2018-05-30 03:46:16 +02:00
parent e168ae6a9d
commit 31706eeb93
@@ -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