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:
venomade committed 2026-11-24 01:14:30 +00:00
1 parent b40f09e56f
commit 6a7b9d26a0
3 files changed
+73 -2

No files matched your search

Symlink
+1
View File
@@ -0,0 +1 @@
/nix/store/lxz1z892xld548l67jq193fwi0ha61d9-t3-0.1.12-nightly.20261123.5165