git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit8608d393e87a33d8ebc95f76f4c5fa03467d096e authorSamuel Dionne-Riel <samuel@dionne-riel.com> dateFri 26 Nov 2021, 02:17 (5 years ago) parent8e92630
1 file changed+2
pkgs/shells/bash/nix-bash-completions/default.nix+2
pkgs/shells/bash/nix-bash-completions/default.nix+2
@@ -32,5 +32,7 @@ stdenv.mkDerivation rec {
3232 license = licenses.bsd3;
3333 platforms = platforms.all;
3434 maintainers = with maintainers; [ hedning ];
35+ # Set a lower priority such that the newly provided completion from Nix 2.4 are preferred.
36+ priority = 10;
3537 };
3638}