summary refs log tree commit diff
path: root/pkgs/shells/bash
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-11-26 02:17:15 -0500
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2021-11-26 02:17:15 -0500
commit8608d393e87a33d8ebc95f76f4c5fa03467d096e (patch)
treed7f902e07b5f706222a2e3d63c5123bd7da98ab6 /pkgs/shells/bash
parent8e92630aae97864975761be92976ac0801954f3f (diff)
nix-bash-completions: Reduce priority for Nix 2.4
Reducing the priority makes the system build prefer the Nix-provided
completions, for e.g. the new `nix` commands.
Diffstat (limited to 'pkgs/shells/bash')
-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;
   };
 }