|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ callPackage, fetchpatch, openssl, python3, enableNpm ? true }: |
|
|
|
|
{ callPackage, openssl, python3, enableNpm ? true }: |
|
|
|
|
|
|
|
|
|
let |
|
|
|
|
buildNodejs = callPackage ./nodejs.nix { |
|
|
|
@ -8,15 +8,9 @@ let |
|
|
|
|
in |
|
|
|
|
buildNodejs { |
|
|
|
|
inherit enableNpm; |
|
|
|
|
version = "16.14.2"; |
|
|
|
|
sha256 = "sha256-6SLiFcxo61+U0z6KC2HiyGO3cxzIYAq5VdOCLakP+NE="; |
|
|
|
|
version = "16.15.0"; |
|
|
|
|
sha256 = "sha256-oPgS78Q/eDIeygiVeWCkj15r+XAE1QWMjdOwPGRupPc="; |
|
|
|
|
patches = [ |
|
|
|
|
./disable-darwin-v8-system-instrumentation.patch |
|
|
|
|
# Fixes node incorrectly building vendored OpenSSL when we want system OpenSSL. |
|
|
|
|
# https://github.com/nodejs/node/pull/40965 |
|
|
|
|
(fetchpatch { |
|
|
|
|
url = "https://github.com/nodejs/node/commit/65119a89586b94b0dd46b45f6d315c9d9f4c9261.patch"; |
|
|
|
|
sha256 = "sha256-dihKYEdK68sQIsnfTRambJ2oZr0htROVbNZlFzSAL+I="; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|