Package t3tui itself as a flake output (packages.t3tui / apps.t3tui)
Builds one self-contained binary with `bun build --compile`. npm deps come from a fixed-output derivation (this nixpkgs has no bun fetcher); the vendored t3code submodule is grafted from a pinned flake input (same commit as the submodule) because git flake sources don't include submodule contents. The binary is a Bun SEA, so strip/patchelf are disabled on the package. link-vendor now chmods copied vendor files writable before patching (nix store sources are read-only). Verified: nix build .#t3tui -> bin/t3tui version prints 0.2.0. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
1 parent
9d1f6d8bc9
commit
c5311a763f
3 files changed
+129
-6
No files matched your search
Generated
+19
-1
@@ -18,7 +18,25 @@
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
"nixpkgs": "nixpkgs",
|
||||
"t3code": "t3code"
|
||||
}
|
||||
},
|
||||
"t3code": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1795472381,
|
||||
"narHash": "sha256-DdmR8buUDxTosw2ZKe2wnHtuLKX7DJoaPFsmWWyFf+E=",
|
||||
"owner": "pingdotgg",
|
||||
"repo": "t3code",
|
||||
"rev": "42c9107983d8f65c38117501cbcde1ee5c82ef14",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "pingdotgg",
|
||||
"repo": "t3code",
|
||||
"rev": "42c9107983d8f65c38117501cbcde1ee5c82ef14",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user