forked from mirrors/nixpkgs
ghc-8.x: paxmark ghc and haddock
This commit is contained in:
parent
708070d232
commit
387066357d
|
@ -57,6 +57,8 @@ stdenv.mkDerivation rec {
|
|||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
|
||||
|
||||
postInstall = ''
|
||||
paxmark m $out/lib/${name}/bin/{ghc,haddock}
|
||||
|
||||
# Install the bash completion file.
|
||||
install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/ghc
|
||||
|
||||
|
|
|
@ -57,6 +57,8 @@ stdenv.mkDerivation rec {
|
|||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
|
||||
|
||||
postInstall = ''
|
||||
paxmark m $out/lib/${name}/bin/{ghc,haddock}
|
||||
|
||||
# Install the bash completion file.
|
||||
install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/ghc
|
||||
|
||||
|
|
|
@ -53,6 +53,8 @@ in stdenv.mkDerivation (rec {
|
|||
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
|
||||
|
||||
postInstall = ''
|
||||
paxmark m $out/lib/${name}/bin/{ghc,haddock}
|
||||
|
||||
# Install the bash completion file.
|
||||
install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/ghc
|
||||
|
||||
|
|
Loading…
Reference in a new issue