bdc7d14c6d7ff2193b7e260d6b9806b7f4b84d2f
- Describe exported packages, apps, and checks - Add build, run, and flake inspection examples
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:
packages.<system>.t3code-serverpackages.<system>.t3code-desktoppackages.<system>.defaultapps.<system>.t3code-serverapps.<system>.t3code-desktopapps.<system>.defaultchecks.<system>.t3code-serverchecks.<system>.t3code-desktop
Current default points to the desktop package/app.
Usage
Build the server package:
nix build .#t3code-server
Build the desktop package:
nix build .#t3code-desktop
Run the server app:
nix run .#t3code-server
Run the desktop app:
nix run .#t3code-desktop
Inspect the flake surface:
nix flake show --all-systems
Layout
.
├── flake.nix
├── flake.lock
├── README.md
└── packages
├── common.nix
├── desktop
│ ├── build-nix-desktop-package.mjs
│ ├── default.nix
│ └── desktop-nix-autoupdate.patch
└── server
└── default.nix
Notes
packages/common.nixcontains the shared Bun workspace andnode-ptysetup used by both packages.packages/desktop/build-nix-desktop-package.mjsis local packaging glue carried by this repo.packages/desktop/desktop-nix-autoupdate.patchis a downstream patch for desktop auto-update messaging in package-managed installs.- Upstream source is pinned in
flake.lockvia thet3codeinput.
Description
Languages
Nix
58%
TypeScript
31.8%
JavaScript
10.2%