From d566fed62e4603e91623013b06feff8fc679f238 Mon Sep 17 00:00:00 2001 From: dish Date: Mon, 1 Sep 2025 18:09:35 -0400 Subject: [PATCH] nodejs*: remove http-parser dependency http-parser has been unmaintained for a long time, and is marked to only be enabled with nodejs versions older than 11.4, which was released back in 2018, and the 11.x series was made EOL around that same time. Therefore, there is absolutely no need to keep this around. --- pkgs/development/web/nodejs/nodejs.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 9c7d0ff66d81..fad46782599c 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -7,7 +7,6 @@ zlib, libuv, sqlite, - http-parser, icu, bash, ninja, @@ -99,16 +98,11 @@ let null; # TODO: also handle MIPS flags (mips_arch, mips_fpu, mips_float_abi). - useSharedHttpParser = - !stdenv.hostPlatform.isDarwin && lib.versionOlder "${majorVersion}.${minorVersion}" "11.4"; useSharedSQLite = lib.versionAtLeast version "22.5"; sharedLibDeps = { inherit openssl zlib libuv; } - // (lib.optionalAttrs useSharedHttpParser { - inherit http-parser; - }) // (lib.optionalAttrs useSharedSQLite { inherit sqlite; }); @@ -191,7 +185,6 @@ let zlib libuv openssl - http-parser icu bash ]