anytype: Raise memory limit for Node.js build

(cherry picked from commit 0fcb265f91)
This commit is contained in:
David Chocholatý 2026-06-17 07:52:21 +02:00 committed by github-actions[bot]
commit dd75e106e9

View file

@ -93,6 +93,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
env = {
ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
# used upstream for builds: https://github.com/anyproto/anytype-ts/blob/5d66657f764c0649410e37c9e9c06e3ff18487ee/.github/workflows/build.yml#L192.
NODE_OPTIONS = "--max-old-space-size=8192";
};
nativeBuildInputs = [