Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 18 lines 583 B view raw
1{ callPackage, fetchFromGitHub, lib, pkgs }: 2let 3 nodePackages = import ./composition.nix { inherit pkgs; }; 4 sourceInfo = (lib.importJSON ./netlify-cli.json); 5in 6 nodePackages.package.override { 7 preRebuild = '' 8 export ESBUILD_BINARY_PATH="${pkgs.esbuild_netlify}/bin/esbuild" 9 ''; 10 src = fetchFromGitHub { 11 inherit (sourceInfo) owner repo rev hash; 12 }; 13 bypassCache = true; 14 reconstructLock = true; 15 passthru.tests.test = callPackage ./test.nix { }; 16 meta.maintainers = with lib.maintainers; [ roberth ]; 17 meta.mainProgram = "netlify"; 18 }