Skip to content

Commit

Permalink
Fix netlify-cli (NixOS#370586)
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth authored Jan 3, 2025
2 parents 910dbea + 097be59 commit 21bb46c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 7 additions & 4 deletions pkgs/development/web/netlify-cli/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
callPackage,
vips,
pkg-config,
lib,
buildNpmPackage,
callPackage,
fetchFromGitHub,
lib,
nix-update-script,
nodejs,
pkg-config,
vips,
}:

buildNpmPackage rec {
Expand All @@ -21,6 +22,8 @@ buildNpmPackage rec {

npmDepsHash = "sha256-pJaNdR9jyFSdfE+yLnQn9/Gbq2CbH6y3aEVbpg3Ft/o=";

inherit nodejs;

buildInputs = [ vips ];
nativeBuildInputs = [ pkg-config ];

Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4401,7 +4401,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 { };

Expand Down

0 comments on commit 21bb46c

Please sign in to comment.