Package the headless T3 Code server CLI (t3) in the flake
nixpkgs has no t3code package and the npm `t3` package is only a downloader, so fetch the official GitHub release tarball for v0.1.12-nightly.20261123.5165 (4 commits ahead of the vendor pin) and wrap it as packages.t3 / a devShell binary. The Node SEA binary is left unstripped and unpatched (patchelf/strip corrupt its embedded resource); only native .node modules get an rpath to nix libraries. Verified: `t3 serve` runs headless and writes the server-runtime.json that t3tui discovers. `t3 --version` and `t3 serve --help` work through `nix develop`. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
1 parent
b40f09e56f
commit
6a7b9d26a0
3 files changed
+73
-2