feat!: pin llm-agents to its own nixpkgs, move codex to apps.gpt.codex #3

Merged
marti merged 4 commits from feature/llm-agents-pin into main 2026-10-13 19:52:29 +02:00
Owner

Summary

Follow-up to #2: changes that landed after it merged.

 inputs:
-  llm-agents = { url = "github:numtide/llm-agents.nix"; inputs.nixpkgs.follows = "nixpkgs"; };
+  llm-agents.url = "github:numtide/llm-agents.nix";   # own nixpkgs -> numtide cache hits
  • llm-agents no longer follows nixpkgs. Its binary cache only hits for numtide's own nixpkgs revision, so following ours meant rebuilding codex, opencode and the rest from source. Consumers need no llm-agents input of their own; the NixOS config drops its input and overlay.
  • The README flake URL now points at Marti/agent-env.
  • Breaking: the Codex CLI moves from apps.codex to apps.gpt.codex, grouped with apps.gpt.desktop (the ChatGPT app that also runs Codex).

(A grok/jcode app was added and then dropped again in this branch; the net diff has neither.)

Evidence

  • Before: flake.lock llm-agents.inputs.nixpkgs -> root nixpkgs (follows).
    After: llm-agents.inputs.nixpkgs -> its own nixpkgs node; root uses nixpkgs_2.
  • nix flake check -> all checks passed!
  • With this branch overridden in, all four NixOS hosts (cumputer, cumpad, cumbook, cumwork) evaluate with llm-agents removed from that config.

Merge Danger

Door: two-way

Blast Radius: consumers

Configs that set apps.codex.enable stop evaluating until they switch to apps.gpt.codex.enable.

A second nixpkgs gets evaluated for llm-agents, and the agent packages change store paths: they now come from numtide's cache instead of being built against our nixpkgs.

🤖 Generated with Claude Code

## Summary Follow-up to #2: changes that landed after it merged. ```diff inputs: - llm-agents = { url = "github:numtide/llm-agents.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + llm-agents.url = "github:numtide/llm-agents.nix"; # own nixpkgs -> numtide cache hits ``` - llm-agents no longer follows nixpkgs. Its binary cache only hits for numtide's own nixpkgs revision, so following ours meant rebuilding codex, opencode and the rest from source. Consumers need no llm-agents input of their own; the NixOS config drops its input and overlay. - The README flake URL now points at `Marti/agent-env`. - **Breaking:** the Codex CLI moves from `apps.codex` to `apps.gpt.codex`, grouped with `apps.gpt.desktop` (the ChatGPT app that also runs Codex). (A grok/jcode app was added and then dropped again in this branch; the net diff has neither.) ## Evidence - **Before:** `flake.lock` `llm-agents.inputs.nixpkgs` -> root `nixpkgs` (follows). **After:** `llm-agents.inputs.nixpkgs` -> its own `nixpkgs` node; root uses `nixpkgs_2`. - `nix flake check` -> `all checks passed!` - With this branch overridden in, all four NixOS hosts (`cumputer`, `cumpad`, `cumbook`, `cumwork`) evaluate with `llm-agents` removed from that config. ## Merge Danger **Door:** two-way **Blast Radius:** consumers Configs that set `apps.codex.enable` stop evaluating until they switch to `apps.gpt.codex.enable`. A second nixpkgs gets evaluated for llm-agents, and the agent packages change store paths: they now come from numtide's cache instead of being built against our nixpkgs. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
llm-agents no longer follows nixpkgs, so its packages come from numtide's
binary cache instead of being rebuilt, and consumers need no llm-agents
input of their own. grok and jcode are the last packages the NixOS config
took from it directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Not wanted after all; nothing else depends on them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
marti changed title from feat: own the llm-agents pin and add grok and jcode apps to feat: pin llm-agents to its own nixpkgs for cache hits 2026-10-13 19:48:42 +02:00
Groups it with apps.gpt.desktop, the ChatGPT app that also runs Codex.

BREAKING CHANGE: m4rti.agents.apps.codex is now m4rti.agents.apps.gpt.codex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
marti changed title from feat: pin llm-agents to its own nixpkgs for cache hits to feat!: pin llm-agents to its own nixpkgs, move codex to apps.gpt.codex 2026-10-13 19:50:36 +02:00
marti merged commit 71c3e157fd into main 2026-10-13 19:52:29 +02:00
marti deleted branch feature/llm-agents-pin 2026-10-13 19:52:31 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marti/agent-env!3
No description provided.