singularity-forge/.agents/skills/nix-build/SKILL.md
2026-05-07 04:00:58 +02:00

730 B

name description
nix-build 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"