mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
15 lines
477 B
Nix
15 lines
477 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 (lib.importJSON ./netlify-cli.json);
|
|
bypassCache = true;
|
|
reconstructLock = true;
|
|
passthru.tests.test = callPackage ./test.nix { };
|
|
meta.maintainers = with lib.maintainers; [ roberth ];
|
|
}
|