From 22755baf91362ff12bbb6d2a8c29c77fd14d33a4 Mon Sep 17 00:00:00 2001
From: John Titor <50095635+JohnRTitor@users.noreply.github.com>
Date: Fri, 15 Nov 2024 11:00:06 +0530
Subject: [PATCH] nodejs_23: add possible fix for
 https://github.com/NixOS/nixpkgs/issues/355919

---
 pkgs/development/web/nodejs/v23.nix | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pkgs/development/web/nodejs/v23.nix b/pkgs/development/web/nodejs/v23.nix
index a34e53375e69b..170b10d0c3d40 100644
--- a/pkgs/development/web/nodejs/v23.nix
+++ b/pkgs/development/web/nodejs/v23.nix
@@ -53,5 +53,11 @@ buildNodejs {
       hash = "sha256-gmIyiSyNzC3pClL1SM2YicckWM+/2tsbV1xv2S3d5G0=";
       revert = true;
     })
+    # possible fix for https://github.com/NixOS/nixpkgs/issues/355919
+    (fetchpatch2 {
+      url = "https://github.com/nodejs/node/commit/a094a8166cd772f89e92b5deef168e5e599fa815.patch?full_index=1";
+      hash = "";
+      revert = true;
+    })
   ];
 }