about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorPeter Hoeg <peter@speartail.com>2016-03-20 22:18:53 +0800
committerPeter Hoeg <peter@speartail.com>2016-03-20 22:18:53 +0800
commitfa0c2c08a27b7f6eb9113ff17f38203d69c71997 (patch)
treeb222d5d5cff21d9e37071c6a049e389f765c1dc2 /pkgs/shells
parente3aa3c6abb7109c494431f3a06d46e66d08f9bd3 (diff)
downloadnixlib-fa0c2c08a27b7f6eb9113ff17f38203d69c71997.tar
nixlib-fa0c2c08a27b7f6eb9113ff17f38203d69c71997.tar.gz
nixlib-fa0c2c08a27b7f6eb9113ff17f38203d69c71997.tar.bz2
nixlib-fa0c2c08a27b7f6eb9113ff17f38203d69c71997.tar.lz
nixlib-fa0c2c08a27b7f6eb9113ff17f38203d69c71997.tar.xz
nixlib-fa0c2c08a27b7f6eb9113ff17f38203d69c71997.tar.zst
nixlib-fa0c2c08a27b7f6eb9113ff17f38203d69c71997.zip
bash-completion: remove collision
nmcli is already provided by network-manager
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/bash-completion/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/shells/bash-completion/default.nix b/pkgs/shells/bash-completion/default.nix
index 39f7073fcbbf..6c7051c9c7a2 100644
--- a/pkgs/shells/bash-completion/default.nix
+++ b/pkgs/shells/bash-completion/default.nix
@@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
 
+  # nmcli is included in the network-manager package
+  postInstall = ''
+    rm $out/share/bash-completion/completions/nmcli
+  '';
+
   meta = {
     homepage = "http://bash-completion.alioth.debian.org/";
     description = "Programmable completion for the bash shell";