mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 13:58:16 +00:00
nix-bash-completions: Drop nixos-rebuild completion
This commit is contained in:
parent
a5e30e71b6
commit
5e76073539
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user