5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
17 lines
549 B
Nix
17 lines
549 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 ];
|
|
}
|