From ab3b945c00256128e59a4db9fe1ef4099cd806ff Mon Sep 17 00:00:00 2001 From: imnyang Date: Wed, 26 Aug 2026 14:49:44 +0900 Subject: [PATCH] fix: preserve compiled api bundle --- hosts/server/hikari/hako/services/api.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/server/hikari/hako/services/api.nix b/hosts/server/hikari/hako/services/api.nix index 27d94a0..7e0fe85 100644 --- a/hosts/server/hikari/hako/services/api.nix +++ b/hosts/server/hikari/hako/services/api.nix @@ -32,6 +32,10 @@ let nativeBuildInputs = [ pkgs.bun ]; + # Bun standalone executables contain the bundled application after the + # ELF sections; stripping them leaves only the Bun runtime. + dontStrip = true; + dontConfigure = true; buildPhase = ''