Commit 73cdc5e
authored
chore(codex-cli): drop vendored npm wrapper, use nixpkgs#codex (0.133.0) (#684)
OpenAI rewrote codex in Rust mid-2025 and nixpkgs now ships it under
`codex` (currently 0.133.0). Our vendored derivation pinned npm
`@openai/codex` 0.46.0 and was carrying ~89 minor versions of drift
behind upstream — and the npm package itself has since moved to per-arch
optionalDependencies that don't fit our existing build shape.
Easier and cleaner: stop maintaining the wrapper, consume nixpkgs.
Changes:
- module.nix: `codex-cli = pkgs.codex` instead of callPackage ./.
- module.nix + codex-cli.nix: drop `codex = "codex-cli"` aliases
(`codex` is the real binary name now); rest of the convenience
aliases (ai-code, openai-codex, cx, code-ai) repoint to `codex`.
- module.nix: fix `CODEX_BIN` path in the codex-project helper script
from `bin/codex-cli` to `bin/codex`.
- Delete `home/development/codex-cli/{default.nix,package-lock.json}`
(the old npm wrapper).
Verified: razer + p620 + p510 system closures all build clean.1 parent b1592f6 commit 73cdc5e
4 files changed
Lines changed: 18 additions & 118 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
87 | 92 | | |
88 | | - | |
| 93 | + | |
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
| |||
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
119 | | - | |
| 124 | + | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| |||
This file was deleted.
0 commit comments