aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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