mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
Merge pull request #327583 from junglerobba/angular-cli-completions
@angular/cli: install shell completions
This commit is contained in:
commit
f395d4407c
@ -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