diff options
author | Peter Simons <simons@cryp.to> | 2015-08-31 12:09:03 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-08-31 16:49:00 +0200 |
commit | de2c043d5fdd4e0e26bdfe3a4b8e080daa05aa92 (patch) | |
tree | c0e96be8531ec162982bbe5169daccba1528b699 /pkgs/development/compilers/ghc | |
parent | c7a9fa11c05a5ac286f961c094f87237f1fd66bd (diff) | |
download | nixlib-de2c043d5fdd4e0e26bdfe3a4b8e080daa05aa92.tar nixlib-de2c043d5fdd4e0e26bdfe3a4b8e080daa05aa92.tar.gz nixlib-de2c043d5fdd4e0e26bdfe3a4b8e080daa05aa92.tar.bz2 nixlib-de2c043d5fdd4e0e26bdfe3a4b8e080daa05aa92.tar.lz nixlib-de2c043d5fdd4e0e26bdfe3a4b8e080daa05aa92.tar.xz nixlib-de2c043d5fdd4e0e26bdfe3a4b8e080daa05aa92.tar.zst nixlib-de2c043d5fdd4e0e26bdfe3a4b8e080daa05aa92.zip |
ghc: install bash completion shipped in version 7.10.x and later
Addresses one half of https://github.com/NixOS/nixpkgs/issues/9265.
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/7.10.2.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/7.10.2.nix b/pkgs/development/compilers/ghc/7.10.2.nix index 064610c3557b..834639380a50 100644 --- a/pkgs/development/compilers/ghc/7.10.2.nix +++ b/pkgs/development/compilers/ghc/7.10.2.nix @@ -47,6 +47,9 @@ stdenv.mkDerivation rec { stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols"; postInstall = '' + # Install the bash completion file. + install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/ghc + # Patch scripts to include "readelf" and "cat" in $PATH. for i in "$out/bin/"*; do test ! -h $i || continue |