nixpkgs/pkgs/development/web/netlify-cli/default.nix

15 lines
477 B
Nix
Raw Normal View History

2021-10-15 21:48:56 +02:00
{ 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;
2021-10-15 21:48:56 +02:00
passthru.tests.test = callPackage ./test.nix { };
meta.maintainers = with lib.maintainers; [ roberth ];
}