summary refs log tree commit diff
path: root/pkgs/shells/bash-completion
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-10-16 18:25:56 +0200
committerPeter Simons <simons@cryp.to>2012-10-16 18:26:02 +0200
commit31b7510e222a7dd2d94cb3681b98d82067c2782e (patch)
tree62009f9d5dcb9487b6922438dcfff5175648a37e /pkgs/shells/bash-completion
parent5679ad6964de1db649cc02ac7ba762d99bbb4d35 (diff)
downloadnixpkgs-31b7510e222a7dd2d94cb3681b98d82067c2782e.tar
nixpkgs-31b7510e222a7dd2d94cb3681b98d82067c2782e.tar.gz
nixpkgs-31b7510e222a7dd2d94cb3681b98d82067c2782e.tar.bz2
nixpkgs-31b7510e222a7dd2d94cb3681b98d82067c2782e.tar.lz
nixpkgs-31b7510e222a7dd2d94cb3681b98d82067c2782e.tar.xz
nixpkgs-31b7510e222a7dd2d94cb3681b98d82067c2782e.tar.zst
nixpkgs-31b7510e222a7dd2d94cb3681b98d82067c2782e.zip
bash-completion: remove NixOS-specific patch
The new bash-completion support in NixOS doesn't require this patch anymore.
Besides, the patch was insufficient for most purposes anyway: Bash completion
modules are spread out over all user profiles listed in $NIX_PROFILES (plus the
current-system profile), so getting full support for all installed modules
requires support for more than one "bash_completion.d" directory anyway.
Diffstat (limited to 'pkgs/shells/bash-completion')
-rw-r--r--pkgs/shells/bash-completion/default.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkgs/shells/bash-completion/default.nix b/pkgs/shells/bash-completion/default.nix
index d79c9774569..7e4c0f23015 100644
--- a/pkgs/shells/bash-completion/default.nix
+++ b/pkgs/shells/bash-completion/default.nix
@@ -11,11 +11,6 @@ stdenv.mkDerivation {
     sha256 = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804";
   };
 
-  postInstall = ''
-    sed -i "$out/share/bash-completion/bash_completion" \
-        -e 's|: .{BASH_COMPLETION_COMPAT_DIR:=.*}|BASH_COMPLETION_COMPAT_DIR="$HOME/.nix-profile/etc/bash_completion.d"|'
-  '';
-
   doCheck = true;
 
   meta = {