fix: add install phase with --no-frozen-lockfile for linux native bindings

rolldown requires platform-specific bindings (@rolldown/binding-linux-x64-gnu)
that are absent from a lockfile generated on a different OS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Calixte
2026-03-15 00:29:14 +01:00
parent 2986a5d0fe
commit 251ffa2e1a
2 changed files with 36 additions and 11 deletions

View File

@@ -1,5 +1,8 @@
[phases.setup]
nixPkgs = ["nodejs_23", "pnpm"]
[phases.install]
cmds = ["pnpm install --no-frozen-lockfile"]
[phases.build]
cmds = ["pnpm build"]