about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2024-04-24 04:20:00 +0000
committerYaya <github@uwu.is>2024-04-29 18:39:25 +0200
commitb89fa653aee4169d3a8fb01986fdc1318598fbec (patch)
treea6aa7ae142c6af32ab937a5ff9cc741db60af1c0 /pkgs/applications/networking
parent040c045db72424cb12c0440807a9a3b6050bbb99 (diff)
n8n: fix build
(cherry picked from commit be2840632b13b23cec969cc93c834b0d95a5149b)
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/n8n/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/networking/n8n/default.nix b/pkgs/applications/networking/n8n/default.nix
index 20775c4ed4afe..5d9b68e768396 100644
--- a/pkgs/applications/networking/n8n/default.nix
+++ b/pkgs/applications/networking/n8n/default.nix
@@ -30,6 +30,9 @@ nodePackages.n8n.override {
   # makes libmongocrypt bindings not look for static libraries in completely wrong places
   BUILD_TYPE = "dynamic";
 
+  # Disable NAPI_EXPERIMENTAL to allow to build with Node.js≥18.20.0.
+  NIX_CFLAGS_COMPILE = "-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT";
+
   dontNpmInstall = true;
 
   passthru = {