diff options
author | K900 <me@0upti.me> | 2024-04-29 20:21:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 20:21:16 +0300 |
commit | 7cb824ff8036b14a8e92a857dc7161e25384b082 (patch) | |
tree | 07dddef82a405c537e74a3b5353b8e26a32be449 | |
parent | 7244465217b361bbcb18b5dc090ae84df198293a (diff) | |
parent | e9aff877a78db6f6c9891e5381d35b6b89c78548 (diff) |
Merge pull request #307799 from yayayayaka/fix-n8n-build
n8n: unbreak
-rw-r--r-- | pkgs/applications/networking/n8n/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/n8n/default.nix b/pkgs/applications/networking/n8n/default.nix index 20775c4ed4afe..7677abfb0ccf3 100644 --- a/pkgs/applications/networking/n8n/default.nix +++ b/pkgs/applications/networking/n8n/default.nix @@ -10,6 +10,7 @@ nodePackages.n8n.override { nativeBuildInputs = [ pkgs.nodePackages.node-pre-gyp pkgs.which + pkgs.xcbuild ]; buildInputs = [ @@ -30,6 +31,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 = { |