From 7af11b2349cac17bc0e3b2eb4a126cad7d8e563a Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Fri, 9 Jan 2026 22:23:39 +0100 Subject: [PATCH] Add native build tools for node-gyp compilation --- modules/lamassu-lnbits.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/lamassu-lnbits.nix b/modules/lamassu-lnbits.nix index 4c92176..99d57b7 100644 --- a/modules/lamassu-lnbits.nix +++ b/modules/lamassu-lnbits.nix @@ -295,7 +295,18 @@ in after = [ "network-online.target" ]; wants = [ "network-online.target" ]; - path = with pkgs; [ nodejs_22 nodePackages.pnpm python3 git coreutils gnused ]; + path = with pkgs; [ + nodejs_22 + nodePackages.pnpm + python3 + git + coreutils + gnused + # Native build tools for node-gyp (required for utf-8-validate, bufferutil, etc.) + gcc + gnumake + pkg-config + ]; serviceConfig = { Type = "oneshot";