Mario Rodas 2022-03-19 04:20:00 +00:00
parent 9516465000
commit 4265aaa6a0

View file

@ -1,4 +1,4 @@
{ callPackage, fetchpatch, python3, enableNpm ? true }:
{ callPackage, python3, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {
@ -7,15 +7,9 @@ let
in
buildNodejs {
inherit enableNpm;
version = "17.5.0";
sha256 = "sha256-myTmgwV2xX7ja6SDM974vldSMph7Tak5Vot7ifdzzcM=";
version = "17.7.2";
sha256 = "sha256-OuXnTgsWIoz37faIU1mp0uAZrIQ5BsXgGUjXRvq6Sq8=";
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=";
})
];
}