Nix packages for T3 Code stable releases, with patches that upstream does not have yet.
The t3code package in nixpkgs builds the upstream release as-is. We need
patches on top of it, such as direnv support for agents, while they wait for
upstream. This flake reuses the nixpkgs recipe and changes only the release, the
patches, and the hashes.
flowchart LR
upstream["pingdotgg/t3code<br/>stable tag (v0.1.1)"]
fork["OSSystems/t3code<br/>v0.1.1+direnv branch"]
recipe["nixpkgs<br/>t3code recipe"]
patches["packages/t3code/patches"]
pkg["packages/t3code/package.nix"]
out["packages.<system>.t3code<br/>overlays.default"]
upstream -- "base" --> fork
fork -- "git format-patch" --> patches
upstream -- "source" --> pkg
recipe -- "override" --> pkg
patches --> pkg
pkg --> out
nix build github:OSSystems/t3code-nix
nix run github:OSSystems/t3code-nix#t3codeOr add overlays.default to your nixpkgs. It replaces t3code.
Each directory in packages/ with a package.nix is one package. A package
with the same name as a nixpkgs package receives the nixpkgs one and overrides
it.