fix: add legacy-peer-deps and makeCacheWritable for npm builds

This commit is contained in:
maulanasdqn
2026-01-21 14:26:13 +07:00
parent 5be9ec1edf
commit 398350795d
3 changed files with 25 additions and 0 deletions
+3
View File
@@ -6,6 +6,9 @@ pkgs.buildNpmPackage {
version = "0.0.1";
inherit src npmDepsHash;
npmFlags = [ "--legacy-peer-deps" ];
makeCacheWritable = true;
nativeBuildInputs = with pkgs; [
nodejs_22
nodePackages.npm
+3
View File
@@ -8,6 +8,9 @@ pkgs.buildNpmPackage {
version = "0.0.1";
inherit src npmDepsHash;
npmFlags = [ "--legacy-peer-deps" ];
makeCacheWritable = true;
nativeBuildInputs = with pkgs; [
nodejs_22
nodePackages.npm