nodePackages_10_x."@angular/cli": disable analytics

@angular/cli fails to build due to the prompt for NG_CLI_ANALYTICS

Set NG_CLI_ANALYTICS to false to skip this prompt and allow the build to
continue
This commit is contained in:
Evan Stoll 2019-11-11 09:48:06 -05:00 committed by Evan Stoll
parent f298263d78
commit a68edf4106

View File

@ -7,6 +7,11 @@ let
};
in
nodePackages // {
"@angular/cli" = nodePackages."@angular/cli".override {
prePatch = ''
export NG_CLI_ANALYTICS=false
'';
};
bower2nix = nodePackages.bower2nix.override {
buildInputs = [ pkgs.makeWrapper ];
postInstall = ''