diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2023-10-22 02:44:59 -0400 |
---|---|---|
committer | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2023-10-22 03:18:50 -0400 |
commit | 5e7607353937233b0d2c18a14b5a1cea5a7d69a0 (patch) | |
tree | ccf1387984e68c20ce845cfbf8759fd1f7e9ab0d /pkgs | |
parent | a5e30e71b683e649e8e2f145c500bd2abf77b388 (diff) | |
download | nixpkgs-5e7607353937233b0d2c18a14b5a1cea5a7d69a0.tar nixpkgs-5e7607353937233b0d2c18a14b5a1cea5a7d69a0.tar.gz nixpkgs-5e7607353937233b0d2c18a14b5a1cea5a7d69a0.tar.bz2 nixpkgs-5e7607353937233b0d2c18a14b5a1cea5a7d69a0.tar.lz nixpkgs-5e7607353937233b0d2c18a14b5a1cea5a7d69a0.tar.xz nixpkgs-5e7607353937233b0d2c18a14b5a1cea5a7d69a0.tar.zst nixpkgs-5e7607353937233b0d2c18a14b5a1cea5a7d69a0.zip |
nix-bash-completions: Drop nixos-rebuild completion
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/shells/bash/nix-bash-completions/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/shells/bash/nix-bash-completions/default.nix b/pkgs/shells/bash/nix-bash-completions/default.nix index af516a1bcaa..d6cc156cba1 100644 --- a/pkgs/shells/bash/nix-bash-completions/default.nix +++ b/pkgs/shells/bash/nix-bash-completions/default.nix @@ -13,7 +13,10 @@ stdenv.mkDerivation rec { postPatch = '' # Nix 2.4+ provides its own completion for the nix command, see https://github.com/hedning/nix-bash-completions/issues/20 - substituteInPlace _nix --replace 'nix nixos-option' 'nixos-option' + # NixOS provides its own completions for nixos-rebuild now. + substituteInPlace _nix \ + --replace 'nix nixos-option' 'nixos-option' \ + --replace 'nixos-rebuild nixos-install' 'nixos-install' ''; strictDeps = true; |