From 7330cd1d01045544dd1eb8b40fe4fc5108783396 Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Fri, 9 Jan 2026 22:54:49 +0100 Subject: [PATCH] Separate install from rebuild, allow partial native module failures --- modules/lamassu-lnbits.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/lamassu-lnbits.nix b/modules/lamassu-lnbits.nix index d7191ee..a738d75 100644 --- a/modules/lamassu-lnbits.nix +++ b/modules/lamassu-lnbits.nix @@ -400,9 +400,12 @@ in exit 0 fi - echo "==> Installing dependencies with pnpm..." - # Use --child-concurrency=1 to run install scripts sequentially (avoids race conditions) - pnpm install --no-frozen-lockfile --child-concurrency=1 + echo "==> Installing dependencies with pnpm (without scripts)..." + pnpm install --no-frozen-lockfile --ignore-scripts + + echo "==> Running native module builds..." + # Run rebuild separately - this compiles native modules + pnpm rebuild || echo "Warning: Some native modules failed to build, continuing anyway..." echo "==> Building project..." pnpm build