zsh: remove conflicting nixUnstable completions

(cherry picked from commit d687fe88fdbb00b89f4e5b82824c7b187659d648)
This commit is contained in:
Timothy DeHerrera 2021-06-29 11:54:05 -06:00 committed by github-actions[bot]
parent fd6da5164a
commit a37709b232
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ in
environment.etc.zinputrc.source = ./zinputrc;
environment.systemPackages = [ pkgs.zsh ]
++ optional cfg.enableCompletion pkgs.nix-zsh-completions;
++ optional (cfg.enableCompletion && ! lib.versionAtLeast (lib.getVersion config.nix.package) "2.4pre") pkgs.nix-zsh-completions;
environment.pathsToLink = optional cfg.enableCompletion "/share/zsh";