Unverified Commit 7cb824ff authored by K900's avatar K900 Committed by GitHub
Browse files

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

n8n: unbreak
parents 72444652 e9aff877
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 = {