netlify-cli: Pin to nodejs_20
Fixes a node gyp compilation failure
This commit is contained in:
@@ -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 ];
|
||||
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user