Switch Bun builds to copyfile backend
- Use `--backend=copyfile` during `bun install` - Copy `node_modules` with symlink preservation via `cp -LR`
This commit is contained in:
+2
-1
@@ -62,6 +62,7 @@ in {
|
|||||||
bun install \
|
bun install \
|
||||||
--frozen-lockfile \
|
--frozen-lockfile \
|
||||||
--ignore-scripts \
|
--ignore-scripts \
|
||||||
|
--backend=copyfile \
|
||||||
--linker=hoisted \
|
--linker=hoisted \
|
||||||
--no-progress \
|
--no-progress \
|
||||||
${renderBunFilters filters}
|
${renderBunFilters filters}
|
||||||
@@ -72,7 +73,7 @@ ${renderBunFilters filters}
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
cp -R ./node_modules $out
|
cp -LR ./node_modules $out
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user