diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 77a237432e71..ca91b9d69b2e 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -9,6 +9,7 @@ brotli, c-ares, libuv, + lief, llhttp, nghttp2, nghttp3, @@ -124,6 +125,7 @@ let # TODO: also handle MIPS flags (mips_arch, mips_fpu, mips_float_abi). useSharedAdaAndSimd = !stdenv.hostPlatform.isStatic && lib.versionAtLeast version "22.2"; + useSharedLief = !stdenv.hostPlatform.isStatic && lib.versionAtLeast version "25.6"; useSharedSQLite = !stdenv.hostPlatform.isStatic && lib.versionAtLeast version "22.5"; useSharedZstd = !stdenv.hostPlatform.isStatic && lib.versionAtLeast version "22.15"; @@ -161,6 +163,9 @@ let // (lib.optionalAttrs useSharedSQLite { inherit sqlite; }) + // (lib.optionalAttrs useSharedLief { + inherit lief; + }) // (lib.optionalAttrs useSharedZstd { inherit zstd; }); diff --git a/pkgs/development/web/nodejs/v25.nix b/pkgs/development/web/nodejs/v25.nix index 0387c253810b..91215b2a2c32 100644 --- a/pkgs/development/web/nodejs/v25.nix +++ b/pkgs/development/web/nodejs/v25.nix @@ -25,8 +25,8 @@ let in buildNodejs { inherit enableNpm; - version = "25.5.0"; - sha256 = "7e35efaf63c8fe7737b8c62792ec547e5a95a69f1f813fcfba28566aecc9fd92"; + version = "25.6.0"; + sha256 = "9db6848c802b1981c0faeb71a5b8cc79913f82a747f7f1d50260c6d2f781ef7e"; patches = ( if (stdenv.hostPlatform.emulatorAvailable buildPackages) then