2021-10-15 21:48:56 +02:00
|
|
|
{ callPackage, fetchFromGitHub, lib, pkgs }:
|
2021-10-15 21:19:06 +02:00
|
|
|
let
|
|
|
|
nodePackages = import ./composition.nix { inherit pkgs; };
|
|
|
|
in
|
|
|
|
nodePackages.package.override {
|
|
|
|
preRebuild = ''
|
|
|
|
export ESBUILD_BINARY_PATH="${pkgs.esbuild_netlify}/bin/esbuild"
|
|
|
|
'';
|
2021-11-03 13:43:23 +01:00
|
|
|
src = fetchFromGitHub (lib.importJSON ./netlify-cli.json);
|
2021-10-15 21:19:06 +02:00
|
|
|
bypassCache = true;
|
|
|
|
reconstructLock = true;
|
2021-10-15 21:48:56 +02:00
|
|
|
passthru.tests.test = callPackage ./test.nix { };
|
2021-10-15 21:19:06 +02:00
|
|
|
meta.maintainers = with lib.maintainers; [ roberth ];
|
|
|
|
}
|