Don't enable nix-bash-completions when using Nix 2.4

2.4 has its own completion script which collides with
nix-bash-completions.
This commit is contained in:
Eelco Dolstra
2020-06-04 14:18:18 +02:00
parent 3327b9a385
commit bbfc47326b
3 changed files with 7 additions and 6 deletions

View File

@@ -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"