unexplrd d13dbbaedd Rename package directories to match t3code outputs
- Move server and desktop Nix packages under `packages/t3code-*`
- Update flake outputs and README references to the new names
2026-04-25 12:49:38 +03:00
2026-04-24 19:55:33 +03:00

t3code-flake

Standalone Nix packaging for pingdotgg/t3code.

This repository does not rely on upstream Nix packaging. It fetches the upstream source as a non-flake input and builds local package expressions around that source tree.

What It Exports

For each supported system, the flake exports:

  • apps.<system>.default
  • apps.<system>.t3code-desktop
  • apps.<system>.t3code-server
  • packages.<system>.default
  • packages.<system>.t3code-desktop
  • packages.<system>.t3code-server
  • checks.<system>.t3code-desktop
  • checks.<system>.t3code-server

Current default points to the t3code-desktop.

Usage

Build the desktop package:

nix build .#t3code-desktop

Build the server package:

nix build .#t3code-server

Run the desktop app:

nix run .#t3code-desktop

Run the server app:

nix run .#t3code-server

Inspect the flake surface:

nix flake show --all-systems

Layout

.
├── flake.nix
├── flake.lock
├── README.md
└── packages
    ├── common.nix
    ├── scripts
    │   ├── canonicalize-node-modules.ts
    │   └── normalize-bun-binaries.ts
    ├── t3code-desktop
    │   ├── build-nix-desktop-package.mjs
    │   ├── default.nix
    │   └── desktop-nix-autoupdate.patch
    └── t3code-server
        └── default.nix

Notes

  • packages/common.nix contains the shared Bun workspace and node-pty setup used by both packages.
  • packages/scripts/*.ts contains the Bun install-tree normalization helpers used by packages/common.nix.
  • packages/t3code-desktop/build-nix-desktop-package.mjs is local packaging glue carried by this repo.
  • packages/t3code-desktop/desktop-nix-autoupdate.patch is a downstream patch for desktop auto-update messaging in package-managed installs.
  • Upstream source is pinned in flake.lock via the t3code input.
S
Description
Standalone Nix flake for T3 Code
Readme 15 MiB
Languages
Nix 58%
TypeScript 31.8%
JavaScript 10.2%