Merge pull request #307799 from yayayayaka/fix-n8n-build

n8n: unbreak
This commit is contained in:
K900 2024-04-29 20:21:16 +03:00 committed by GitHub
commit 7cb824ff80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {