From a1454a29ffec080172b60859f22b8df782b5a81c Mon Sep 17 00:00:00 2001 From: ace-pm Date: Wed, 15 Apr 2026 14:46:31 +0200 Subject: [PATCH] docs(flake): update description and build instructions for singularity-forge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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) --- flake.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 66536d804..7dbc5171a 100644 --- a/flake.nix +++ b/flake.nix @@ -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" ''; }; });