about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2021-11-26 10:32:51 -0300
committerGitHub <noreply@github.com>2021-11-26 10:32:51 -0300
commit6f4eab2bd1a8d6511cc4b0274dbd2d6764694abe (patch)
treeb7ca0435a6c3739b2f5bf7290c69839a2920b025 /pkgs/shells
parentdf610cc66101e550266e01657f67c4a4f3b97e17 (diff)
parent8608d393e87a33d8ebc95f76f4c5fa03467d096e (diff)
Merge pull request #147459 from samueldr/fix/nix-bash-completion-2.4
Fix bash completion for stable nix-* commands with Nix 2.4
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/bash/nix-bash-completions/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/shells/bash/nix-bash-completions/default.nix b/pkgs/shells/bash/nix-bash-completions/default.nix
index 2034eed1f5dab..2e8b49385fb43 100644
--- a/pkgs/shells/bash/nix-bash-completions/default.nix
+++ b/pkgs/shells/bash/nix-bash-completions/default.nix
@@ -32,5 +32,7 @@ stdenv.mkDerivation rec {
     license = licenses.bsd3;
     platforms = platforms.all;
     maintainers = with maintainers; [ hedning ];
+    # Set a lower priority such that the newly provided completion from Nix 2.4 are preferred.
+    priority = 10;
   };
 }