Commit ba733f80 authored by Mario Rodas's avatar Mario Rodas
Browse files

nodejs_22: init at 22.0.0

parent ee8fd5ca
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
{ callPackage, openssl, python3, enableNpm ? true }:

let
  buildNodejs = callPackage ./nodejs.nix {
    inherit openssl;
    python = python3;
  };
in
buildNodejs {
  inherit enableNpm;
  version = "22.0.0";
  sha256 = "sha256-IuKPv/MfaQc7gCTLQnReUQX4QEHzR1smC5fVoUEDnRo=";
  patches = [
    ./disable-darwin-v8-system-instrumentation-node19.patch
    ./bypass-darwin-xcrun-node16.patch
    ./node-npm-build-npm-package-logic.patch
  ];
}
+7 −3
Original line number Diff line number Diff line
@@ -10161,10 +10161,14 @@ with pkgs;
  nodejs-slim_21 = callPackage ../development/web/nodejs/v21.nix { enableNpm = false; };
  corepack_21 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_21; });
  nodejs_22 = callPackage ../development/web/nodejs/v22.nix { };
  nodejs-slim_22 = callPackage ../development/web/nodejs/v22.nix { enableNpm = false; };
  corepack_22 = hiPrio (callPackage ../development/web/nodejs/corepack.nix { nodejs = nodejs_22; });
  # Update this when adding the newest nodejs major version!
  nodejs_latest = nodejs_21;
  nodejs-slim_latest = nodejs-slim_21;
  corepack_latest = hiPrio corepack_21;
  nodejs_latest = nodejs_22;
  nodejs-slim_latest = nodejs-slim_22;
  corepack_latest = hiPrio corepack_22;
  buildNpmPackage = callPackage ../build-support/node/build-npm-package { };