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 = "20.2.0"; 13 sha256 = "sha256-IlI98jFsNVaXFP8fabBTwuKGztRgiYQX3uRpRe/N+Yk="; 14 patches = [ 15 ./revert-arm64-pointer-auth.patch 16 ./disable-darwin-v8-system-instrumentation-node19.patch 17 ./bypass-darwin-xcrun-node16.patch 18 ./node-npm-build-npm-package-logic.patch 19 ]; 20}