summary refs log tree commit diff
path: root/nixos/modules/programs/bash/bash.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-04 14:18:18 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-04 14:18:18 +0200
commitbbfc47326b393daf26c7227bfa2cfc235e812251 (patch)
treeb0e7f9245a0c2774e25d771ac22b78f578e134a1 /nixos/modules/programs/bash/bash.nix
parent3327b9a385f5ec2e219bf93b48896772b3f66afc (diff)
downloadnixpkgs-bbfc47326b393daf26c7227bfa2cfc235e812251.tar
nixpkgs-bbfc47326b393daf26c7227bfa2cfc235e812251.tar.gz
nixpkgs-bbfc47326b393daf26c7227bfa2cfc235e812251.tar.bz2
nixpkgs-bbfc47326b393daf26c7227bfa2cfc235e812251.tar.lz
nixpkgs-bbfc47326b393daf26c7227bfa2cfc235e812251.tar.xz
nixpkgs-bbfc47326b393daf26c7227bfa2cfc235e812251.tar.zst
nixpkgs-bbfc47326b393daf26c7227bfa2cfc235e812251.zip
Don't enable nix-bash-completions when using Nix 2.4
2.4 has its own completion script which collides with
nix-bash-completions.
Diffstat (limited to 'nixos/modules/programs/bash/bash.nix')
-rw-r--r--nixos/modules/programs/bash/bash.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/programs/bash/bash.nix b/nixos/modules/programs/bash/bash.nix
index be964ce7f3f..1b3254b54a5 100644
--- a/nixos/modules/programs/bash/bash.nix
+++ b/nixos/modules/programs/bash/bash.nix
@@ -238,9 +238,6 @@ in
       "/share/bash-completion"
     ];
 
-    environment.systemPackages = optional cfg.enableCompletion
-      pkgs.nix-bash-completions;
-
     environment.shells =
       [ "/run/current-system/sw/bin/bash"
         "/run/current-system/sw/bin/sh"