From 7b404c8aee95b17a7ebc436b0d0122de0af1e4a4 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 28 Nov 2024 17:38:51 +0100 Subject: [PATCH] open-webui: add `env.NODE_OPTIONS` --- pkgs/by-name/op/open-webui/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index 1e2d12b7fa72..f60494cc1234 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -30,6 +30,7 @@ let env.CYPRESS_INSTALL_BINARY = "0"; # disallow cypress from downloading binaries in sandbox env.ONNXRUNTIME_NODE_INSTALL_CUDA = "skip"; + env.NODE_OPTIONS = "--max-old-space-size=8192"; installPhase = '' runHook preInstall