From dcbb43858871cb9b9fa09889f7e22876d10ebc85 Mon Sep 17 00:00:00 2001 From: Moritz Hedtke Date: Tue, 11 Jan 2022 08:15:38 +0000 Subject: [PATCH] nodejs-16_x: 16.13.0 -> 16.13.2 (cherry picked from commit 2ac55cedc9dfbbbecfcfe2afea86f76fc80aefb0) --- pkgs/development/web/nodejs/v16.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pkgs/development/web/nodejs/v16.nix b/pkgs/development/web/nodejs/v16.nix index a1b0f1ea8c42..dd1410625db1 100644 --- a/pkgs/development/web/nodejs/v16.nix +++ b/pkgs/development/web/nodejs/v16.nix @@ -1,4 +1,4 @@ -{ callPackage, openssl, python3, enableNpm ? true }: +{ callPackage, fetchpatch, openssl, python3, enableNpm ? true }: let buildNodejs = callPackage ./nodejs.nix { @@ -8,7 +8,15 @@ let in buildNodejs { inherit enableNpm; - version = "16.13.0"; - sha256 = "1k6bgs83s5iaawi63dcc826g23lfqr13phwbbzwx0pllqcyln49j"; - patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; + version = "16.13.2"; + sha256 = "185lm13q0kwz0qimc38c7mxn8ml6m713pjdjsa9jna9az4gxxccq"; + 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="; + }) + ]; }