3
0
Fork 0
forked from mirrors/nixpkgs

haskell.compiler.ghc7103: disable format hardening

This commit is contained in:
Peter Simons 2018-05-29 10:58:49 +02:00
parent e168ae6a9d
commit 31706eeb93

View file

@ -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