mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
@angular/cli: install shell completions
This commit is contained in:
parent
a0c86551ee
commit
3dfaa447a8
@ -23,6 +23,13 @@ final: prev: {
|
||||
prePatch = ''
|
||||
export NG_CLI_ANALYTICS=false
|
||||
'';
|
||||
nativeBuildInputs = [ pkgs.installShellFiles ];
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
for shell in bash zsh; do
|
||||
installShellCompletion --cmd ng \
|
||||
--$shell <($out/bin/ng completion script)
|
||||
done
|
||||
'';
|
||||
};
|
||||
|
||||
"@electron-forge/cli" = prev."@electron-forge/cli".override {
|
||||
|
Loading…
Reference in New Issue
Block a user