ghc: paxmark all unwraped executables across the board
Shell glob works even as the exact set of executable (filenames) varries
beween configuations.
commit6af0c192d15b3e87f1cf757250f7c8f8b84bd2d3
authorMoritz Angermann <moritz.angermann@gmail.com>
dateMon 5 Mar 2018, 21:34 (9 years ago)
parent8d2ce11
pkgs/development/compilers/ghc/8.0.2.nix+1−1
@@ -166,7 +166,7 @@ stdenv.mkDerivation rec {
166166 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
167167 # treat that as a unary `{x,y,z,..}` repetition.
168168 postInstall = ''
169− paxmark m $out/lib/${name}/bin/${if targetPlatform != hostPlatform then "ghc" else "{ghc,haddock}"}
169+ paxmark m $out/lib/${name}/bin/*
170170
171171 # Install the bash completion file.
172172 install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
pkgs/development/compilers/ghc/8.2.2.nix+1−1
@@ -181,7 +181,7 @@ stdenv.mkDerivation rec {
181181 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
182182 # treat that as a unary `{x,y,z,..}` repetition.
183183 postInstall = ''
184− paxmark m $out/lib/${name}/bin/${if targetPlatform != hostPlatform then "ghc" else "{ghc,haddock}"}
184+ paxmark m $out/lib/${name}/bin/*
185185
186186 # Install the bash completion file.
187187 install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
pkgs/development/compilers/ghc/8.4.2.nix+1−1
@@ -173,7 +173,7 @@ stdenv.mkDerivation rec {
173173 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
174174 # treat that as a unary `{x,y,z,..}` repetition.
175175 postInstall = ''
176− paxmark m $out/lib/${name}/bin/${if targetPlatform != hostPlatform then "ghc" else "{ghc,haddock}"}
176+ paxmark m $out/lib/${name}/bin/*
177177
178178 # Install the bash completion file.
179179 install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
pkgs/development/compilers/ghc/head.nix+1−1
@@ -172,7 +172,7 @@ stdenv.mkDerivation rec {
172172 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
173173 # treat that as a unary `{x,y,z,..}` repetition.
174174 postInstall = ''
175− paxmark m $out/lib/${name}/bin/${if targetPlatform != hostPlatform then "ghc" else "{ghc,haddock}"}
175+ paxmark m $out/lib/${name}/bin/*
176176
177177 # Install the bash completion file.
178178 install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc