docs(flake): update description and build instructions for singularity-forge

- Rebrand description: gsd-2 → singularity-forge
- Add RUST_BACKTRACE=1 for better error diagnostics
- Update shellHook message with current build command
- Document native addon build via bun filter

Rust toolchain already present in devShell (cargo, rustc, clippy, rust-analyzer, rustfmt).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
ace-pm 2026-04-15 14:46:31 +02:00
parent d501ca7d6d
commit a1454a29ff

View file

@ -1,5 +1,5 @@
{
description = "Minimal runtime shell for gsd-2";
description = "Development and build environment for singularity-forge";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
@ -30,12 +30,16 @@
shellHook = ''
export GSD_SOURCE_DIR="${toString ./.}"
export PATH="$GSD_SOURCE_DIR/bin:$PATH"
export RUST_BACKTRACE=1
echo "gsd-2 runtime shell"
echo " bun : $(command -v bun)"
echo "singularity-forge development shell"
echo " bun : $(command -v bun)"
echo " cargo: $(command -v cargo)"
echo " node: $(command -v node)"
echo " node : $(command -v node)"
echo " rustc: $(command -v rustc)"
echo ""
echo "Build native addon:"
echo " bun run --filter @sf-run/native build:native"
'';
};
});