Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.11 19 lines 478 B view raw
1{ callPackage, openssl, python3, enableNpm ? true }: 2 3let 4 buildNodejs = callPackage ./nodejs.nix { 5 inherit openssl; 6 python = python3; 7 }; 8in 9buildNodejs { 10 inherit enableNpm; 11 version = "21.2.0"; 12 sha256 = "sha256-1Xyc6jlHZPodmvUeUsdEn3EZPp1ExKgfvt7GU+yCdwc="; 13 patches = [ 14 ./revert-arm64-pointer-auth.patch 15 ./disable-darwin-v8-system-instrumentation-node19.patch 16 ./bypass-darwin-xcrun-node16.patch 17 ./node-npm-build-npm-package-logic.patch 18 ]; 19}