From 575ade4b814bdcbe3d11c4b6d5e2f4b080c995c8 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Fri, 24 Apr 2026 20:36:51 +0300 Subject: [PATCH] Switch Bun builds to copyfile backend - Use `--backend=copyfile` during `bun install` - Copy `node_modules` with symlink preservation via `cp -LR` --- packages/common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/common.nix b/packages/common.nix index be233d5..cc86953 100644 --- a/packages/common.nix +++ b/packages/common.nix @@ -62,6 +62,7 @@ in { bun install \ --frozen-lockfile \ --ignore-scripts \ + --backend=copyfile \ --linker=hoisted \ --no-progress \ ${renderBunFilters filters} @@ -72,7 +73,7 @@ ${renderBunFilters filters} installPhase = '' runHook preInstall - cp -R ./node_modules $out + cp -LR ./node_modules $out runHook postInstall '';