Loading pkgs/shells/bash/nix-bash-completions/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
pkgs/shells/bash/nix-bash-completions/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -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