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