0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

zsh: remove conflicting nixUnstable completions

This commit is contained in:
Timothy DeHerrera 2021-06-29 11:54:05 -06:00
parent 34d960aecb
commit d687fe88fd
No known key found for this signature in database
GPG key ID: 19B7285E0F84A536

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