Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 22 lines 601 B view raw
1{ callPackage, fetchpatch2, 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 = "22.10.0"; 12 sha256 = "3180710d3130ad9df01466abf010e408d41b374be54301d1480d10eca73558e0"; 13 patches = [ 14 ./configure-emulator.patch 15 ./configure-armv6-vfpv2.patch 16 ./disable-darwin-v8-system-instrumentation-node19.patch 17 ./bypass-darwin-xcrun-node16.patch 18 ./node-npm-build-npm-package-logic.patch 19 ./use-correct-env-in-tests.patch 20 ./bin-sh-node-run-v22.patch 21 ]; 22}