oncall-mobile-android/.agents/skills/nix-build/SKILL.md

27 lines
730 B
Markdown
Raw Normal View History

---
name: nix-build
description: Build any @singularity-forge/* package (or the full stack) via nix develop. Pass a package name like "pi-coding-agent", "native", "daemon", or "all" for a full core build.
---
All build commands in this repo must run inside `nix develop`. Never use bare cargo/rustc.
For a single package:
```
nix develop --command bash -c "npm run --workspace=@singularity-forge/<package> build"
```
For the full core build (native + all TS packages):
```
nix develop --command bash -c "npm run build:core"
```
For typecheck only:
```
nix develop --command bash -c "tsc --noEmit -p tsconfig.json"
```
For extensions typecheck:
```
nix develop --command bash -c "tsc --noEmit -p tsconfig.extensions.json"
```