This commit is contained in:
hlolli
2020-02-19 23:40:14 +01:00
parent ef712ff2f5
commit ad56672196
2 changed files with 1 additions and 4 deletions

View File

@@ -363,7 +363,7 @@ let
npm ${forceOfflineFlag} --nodedir=${nodeSources} ${npmFlags} ${stdenv.lib.optionalString production "--production"} rebuild
if [ "$dontNpmInstall" != "1" ]
if [ "''${dontNpmInstall-}" != "1" ]
then
# NPM tries to download packages even when they already exist if npm-shrinkwrap is used.
rm -f npm-shrinkwrap.json