n8n: fix build

(cherry picked from commit be2840632b13b23cec969cc93c834b0d95a5149b)
This commit is contained in:
Mario Rodas
2024-04-29 18:39:25 +02:00
committed by Yaya
parent 040c045db7
commit b89fa653ae
@@ -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 = {