From 31b7510e222a7dd2d94cb3681b98d82067c2782e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 16 Oct 2012 18:25:56 +0200 Subject: [PATCH] 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. --- pkgs/shells/bash-completion/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/shells/bash-completion/default.nix b/pkgs/shells/bash-completion/default.nix index d79c9774569b..7e4c0f230155 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 = {