@@ -166,7 +166,7 @@ stdenv.mkDerivation rec {
166 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
166 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
167 # treat that as a unary `{x,y,z,..}` repetition.
167 # treat that as a unary `{x,y,z,..}` repetition.
168 postInstall = ''
168 postInstall = ''
169− paxmark m $out/lib/${name}/bin/${if targetPlatform != hostPlatform then "ghc" else "{ghc,haddock}"}
169+ paxmark m $out/lib/${name}/bin/*
171 # Install the bash completion file.
171 # Install the bash completion file.
172 install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
172 install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc