about summary refs log tree commit diff
path: root/pkgs/development/web
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-04-24 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2024-04-24 04:20:00 +0000
commitba733f8000925e837e30765f273fec153426403d (patch)
tree788e3fccd5f328d639d1670d9a9fd89358efa4af /pkgs/development/web
parentee8fd5caf0f0eb516480c2fd1a3c7bc8f14b6699 (diff)
nodejs_22: init at 22.0.0
Changelog: https://github.com/nodejs/node/releases/tag/v22.0.0
Diffstat (limited to 'pkgs/development/web')
-rw-r--r--pkgs/development/web/nodejs/v22.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/web/nodejs/v22.nix b/pkgs/development/web/nodejs/v22.nix
new file mode 100644
index 0000000000000..a72f22b6f4985
--- /dev/null
+++ b/pkgs/development/web/nodejs/v22.nix
@@ -0,0 +1,18 @@
+{ 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
+  ];
+}