netlify-cli: Pin to nodejs_20

Fixes a node gyp compilation failure
This commit is contained in:
Robert Hensing
2025-01-03 13:58:34 +01:00
parent 1439e821f3
commit 097be59b2a
2 changed files with 6 additions and 1 deletions
@@ -4,6 +4,7 @@
fetchFromGitHub,
lib,
nix-update-script,
nodejs,
pkg-config,
vips,
}:
@@ -21,6 +22,8 @@ buildNpmPackage rec {
npmDepsHash = "sha256-pJaNdR9jyFSdfE+yLnQn9/Gbq2CbH6y3aEVbpg3Ft/o=";
inherit nodejs;
buildInputs = [ vips ];
nativeBuildInputs = [ pkg-config ];
+3 -1
View File
@@ -4405,7 +4405,9 @@ with pkgs;
};
});
netlify-cli = callPackage ../development/web/netlify-cli { };
netlify-cli = callPackage ../development/web/netlify-cli {
nodejs = nodejs_20;
};
netpbm = callPackage ../tools/graphics/netpbm { };