a7848c7476
GitOrigin-RevId: 34ad3ffe08adfca17fcb4e4a47bb5f3b113687be
14 lines
500 B
Nix
14 lines
500 B
Nix
{ callPackage, fetchFromGitHub, lib, pkgs }:
|
|
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;
|
|
passthru.tests.test = callPackage ./test.nix { };
|
|
meta.maintainers = with lib.maintainers; [ roberth ];
|
|
}
|