aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-10-05 09:26:29 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-05 09:26:29 +0200
commit1d7ef126a8096bb2713ac67fe76f6b9692a0b612 (patch)
tree2e19bf98e7a115e1b75ee60ca6355034708157b4
parenteb78615206a2210cb64675bba07f3f1d29f2796f (diff)
downloadnpm.nix-1d7ef126a8096bb2713ac67fe76f6b9692a0b612.tar.gz
Remove package-lock.json just in case
-rw-r--r--npmPackages/buildNpmPackage.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/npmPackages/buildNpmPackage.nix b/npmPackages/buildNpmPackage.nix
index 8197eff..18ecdce 100644
--- a/npmPackages/buildNpmPackage.nix
+++ b/npmPackages/buildNpmPackage.nix
@@ -54,6 +54,7 @@ stdenv.mkDerivation {
${toString npmInputs} < package.json > package.json.resolved
mv package.json.resolved package.json
+ rm -f package-lock.json
npm --nodedir=${nodejs} --ignore-scripts install
'';