From 1c72fa65ed742d9bfa69cf4576b66a4c8aa6abbc Mon Sep 17 00:00:00 2001 From: Andreas Fuchs Date: Sun, 14 Nov 2021 22:06:45 +0100 Subject: [PATCH] nix-zsh-completions: Lower priority to avoid collisions with nix Both it and nix >=2.4 install a _nix zsh completion definition. The one in nix should take precedence, so let's lower this package's priority. --- pkgs/shells/zsh/nix-zsh-completions/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/shells/zsh/nix-zsh-completions/default.nix b/pkgs/shells/zsh/nix-zsh-completions/default.nix index f60bb966003f..472cc47459cf 100644 --- a/pkgs/shells/zsh/nix-zsh-completions/default.nix +++ b/pkgs/shells/zsh/nix-zsh-completions/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/spwhitt/nix-zsh-completions"; description = "ZSH completions for Nix, NixOS, and NixOps"; + priority = 6; # prevent collisions with nix 2.4's built-in completions license = licenses.bsd3; platforms = platforms.all; maintainers = with maintainers; [ spwhitt olejorgenb hedning ma27 ];