From f5248024d1a33a17fb381e9afb019b0189b2737c Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 16 Apr 2026 12:27:18 +0200 Subject: [PATCH] nodejs_{20,22}: disable broken openssl tests --- pkgs/development/web/nodejs/nodejs.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 070a37f8f0ad..e52cf2892786 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -512,6 +512,12 @@ let ++ lib.optional ( majorVersion == "22" && stdenv.buildPlatform.isDarwin ) "test/sequential/test-http-server-request-timeouts-mixed.js" + # https://github.com/NixOS/nixpkgs/pull/507974#issuecomment-4249433124 + # OpenSSL reports different errors + # https://github.com/nodejs/node/pull/62629 + # patch does not apply + ++ lib.optional (!lib.versionAtLeast version "24") "test-tls-junk-server" + ++ lib.optional (majorVersion == "22") "test-tls-alert-handling" ) }" ];