From e568a6f0e41a2dca2d17d78781016e1bd2a550c0 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 22 Jun 2024 16:46:39 +0100 Subject: [PATCH] nodejs: backport openssl fixes Without the change `nodejs` fails on staging as: Failed tests: out/Release/node /build/node-v20.12.2/test/parallel/test-http2-https-fallback.js out/Release/node /build/node-v20.12.2/test/parallel/test-http2-server-unknown-protocol.js out/Release/node /build/node-v20.12.2/test/parallel/test-tls-alpn-server-client.js --- pkgs/development/web/nodejs/v20.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/web/nodejs/v20.nix b/pkgs/development/web/nodejs/v20.nix index 21da25aaab93..1fb2d61fba21 100644 --- a/pkgs/development/web/nodejs/v20.nix +++ b/pkgs/development/web/nodejs/v20.nix @@ -19,5 +19,9 @@ buildNodejs { url = "https://github.com/nodejs/node/commit/534c122de166cb6464b489f3e6a9a544ceb1c913.patch"; hash = "sha256-4q4LFsq4yU1xRwNsM1sJoNVphJCnxaVe2IyL6AeHJ/I="; }) + (fetchpatch2 { + url = "https://github.com/nodejs/node/commit/14863e80584e579fd48c55f6373878c821c7ff7e.patch"; + hash = "sha256-I7Wjc7DE059a/ZyXAvAqEGvDudPjxQqtkBafckHCFzo="; + }) ]; }