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"
|
|
|
|
'';
|
|
|
|
src = fetchFromGitHub (builtins.fromJSON (builtins.readFile ./netlify-cli.json));
|
|
|
|
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 ];
|
|
|
|
}
|