- Rename native Rust crates: gsd-engine → forge-engine, gsd-ast → forge-ast, gsd-grep → forge-grep - Update all crate dependencies (Cargo.toml, .rs source) and N-API artifacts - Mass rename log prefix [gsd] → [forge] across 81 files (scripts, src/, extensions, tests) - Rename log prefix "gsd-db:" → "forge-db:" in template literals - Update nix flake: add sf-run-native devShell with Rust toolchain for native addon builds - Update CI workflow artifact names (build-native.yml) - Verify only packages/native/* touched (no upstream pi-* packages renamed) Rationale: Complete gsd-2 → singularity-forge rebrand (2026-04-15). Native addon is sf-run-specific; all gsd-prefixed logging and crate names must align with new identity. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
42 lines
1,022 B
Nix
42 lines
1,022 B
Nix
{
|
|
description = "Minimal runtime shell for gsd-2";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
bash
|
|
bun
|
|
cargo
|
|
clippy
|
|
git
|
|
nodejs_24
|
|
rust-analyzer
|
|
rustc
|
|
rustfmt
|
|
];
|
|
|
|
shellHook = ''
|
|
export GSD_SOURCE_DIR="${toString ./.}"
|
|
export PATH="$GSD_SOURCE_DIR/bin:$PATH"
|
|
|
|
echo "gsd-2 runtime shell"
|
|
echo " bun : $(command -v bun)"
|
|
echo " cargo: $(command -v cargo)"
|
|
echo " node: $(command -v node)"
|
|
echo " rustc: $(command -v rustc)"
|
|
'';
|
|
};
|
|
});
|
|
}
|