Unverified Commit 31b6eca6 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #226983 from JamieMagee/node-20

nodejs_20: init at 20.0.0
parents 51cea54f 7c1f952d
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
{ callPackage, openssl, fetchpatch, python3, enableNpm ? true }:

let
  buildNodejs = callPackage ./nodejs.nix {
    inherit openssl;
    python = python3;
  };

in
buildNodejs {
  inherit enableNpm;
  version = "20.0.0";
  sha256 = "sha256-dFDnV5Vo99HLOYGFz85HLaKDeyqjbFliCyLOS5d7XLU=";
  patches = [
    ./revert-arm64-pointer-auth.patch
    ./disable-darwin-v8-system-instrumentation-node19.patch
    ./bypass-darwin-xcrun-node16.patch
  ];
}
+6 −2
Original line number Diff line number Diff line
@@ -9400,9 +9400,13 @@ with pkgs;
  nodejs-slim-19_x = callPackage ../development/web/nodejs/v19.nix {
    enableNpm = false;
  };
  nodejs_20 = callPackage ../development/web/nodejs/v20.nix { };
  nodejs-slim_20 = callPackage ../development/web/nodejs/v20.nix {
    enableNpm = false;
  };
  # Update this when adding the newest nodejs major version!
  nodejs_latest = nodejs-19_x;
  nodejs-slim_latest = nodejs-slim-19_x;
  nodejs_latest = nodejs_20;
  nodejs-slim_latest = nodejs-slim_20;
  buildNpmPackage = callPackage ../build-support/node/build-npm-package { };