aboutsummaryrefslogtreecommitdiff
path: root/npmPackages
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-10-05 09:43:54 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-10-05 09:43:54 +0200
commita556e2837a4f96a81e5fe1bd9134c19399b50748 (patch)
tree9787b918a46e69749053febe41c497446e97c8f3 /npmPackages
parent1d7ef126a8096bb2713ac67fe76f6b9692a0b612 (diff)
downloadnpm.nix-a556e2837a4f96a81e5fe1bd9134c19399b50748.tar.gz
Use npm install as default build phase
Diffstat (limited to 'npmPackages')
-rw-r--r--npmPackages/buildNpmPackage.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/npmPackages/buildNpmPackage.nix b/npmPackages/buildNpmPackage.nix
index 18ecdce..b8f8665 100644
--- a/npmPackages/buildNpmPackage.nix
+++ b/npmPackages/buildNpmPackage.nix
@@ -8,7 +8,7 @@
, nativeBuildInputs ? []
, patches ? []
, files ? [] # override "files" in package.json
-, buildPhase ? "npm --if-present run build"
+, buildPhase ? "npm --nodedir=${nodejs} install"
, checkPhase ? "npm test"
, doCheck ? true
, jailbreak ? false # Ignore version constraints of the dependencies