71c3a101ddccf8c744a993c81b692151b0f86c59
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>.defaultapps.<system>.t3code-desktopapps.<system>.t3code-serverpackages.<system>.defaultpackages.<system>.t3code-desktoppackages.<system>.t3code-serverchecks.<system>.t3code-desktopchecks.<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.nixcontains the shared Bun workspace andnode-ptysetup used by both packages.packages/scripts/*.tscontains the Bun install-tree normalization helpers used bypackages/common.nix.packages/t3code-desktop/build-nix-desktop-package.mjsis local packaging glue carried by this repo.packages/t3code-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%