504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
18 lines
583 B
Nix
18 lines
583 B
Nix
{ callPackage, fetchFromGitHub, lib, pkgs }:
|
|
let
|
|
nodePackages = import ./composition.nix { inherit pkgs; };
|
|
sourceInfo = (lib.importJSON ./netlify-cli.json);
|
|
in
|
|
nodePackages.package.override {
|
|
preRebuild = ''
|
|
export ESBUILD_BINARY_PATH="${pkgs.esbuild_netlify}/bin/esbuild"
|
|
'';
|
|
src = fetchFromGitHub {
|
|
inherit (sourceInfo) owner repo rev hash;
|
|
};
|
|
bypassCache = true;
|
|
reconstructLock = true;
|
|
passthru.tests.test = callPackage ./test.nix { };
|
|
meta.maintainers = with lib.maintainers; [ roberth ];
|
|
meta.mainProgram = "netlify";
|
|
}
|