Repository navigation
codex: fix build with sys libs - #584667
Merged
Merged
Conversation
Signed-off-by: Ethan Carter Edwards <[email protected]>
Contributor
|
zjones-xyz
pushed a commit
to zjones-xyz/nixos-config
that referenced
this pull request
Nov 8, 2026
With the lane at f4a03c0, codex 0.167.0 fails in aws-lc-sys's build script: AWS_LC_SYS_USE_SYSTEM=1 but no system AWS-LC in buildInputs. The upstream fix adds aws-lc, oniguruma, sqlite and zstd to buildInputs; it is merged on master but on no channel yet. Same change as an overrideAttrs, to drop once nixpkgs-apps carries it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018pPYLxTg6fQV48375mVGGK
zjones-xyz
added a commit
to zjones-xyz/nixos-config
that referenced
this pull request
Nov 8, 2026
…ermes back (#242) * [all] Bump nixpkgs-apps past the opencode node_modules hash break #233 moved the lane to 1d06008, where opencode 2.2.5's node_modules fixed-output hash is stale (NixOS/nixpkgs#583530): pegasus's switch fails with specified xfOVcw1… got prx9dX7…. CI's bump check only evaluates, so it didn't catch it. nixos-unstable f4a03c0 carries the upstream fix, whose Linux hash is exactly the one pegasus's build produced. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018pPYLxTg6fQV48375mVGGK * [pegasus] codex: carry NixOS/nixpkgs#584667 until unstable has it With the lane at f4a03c0, codex 0.167.0 fails in aws-lc-sys's build script: AWS_LC_SYS_USE_SYSTEM=1 but no system AWS-LC in buildInputs. The upstream fix adds aws-lc, oniguruma, sqlite and zstd to buildInputs; it is merged on master but on no channel yet. Same change as an overrideAttrs, to drop once nixpkgs-apps carries it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018pPYLxTg6fQV48375mVGGK * [pegasus] Hold hermes-agent on its own nixpkgs pin (1d06008) At lane f4a03c0, hermes-agent fails building its pm node/ffmpeg: hermes's nix/pm-packages.nix applies NixOS/patchelf 59acc3d, written for patchelf 0.19.2, but nixos-unstable reverted patchelf to 0.15.2 between 1d06008 and f4a03c0, and the patch fails there (src/patchelf.cc:543). Hermes main still carries the same patch, so an older hermes rev doesn't help. Per docs/NIXPKGS-APPS.md, the app holds back on its own pin: nixpkgs-hermes at 1d06008, the last lane rev on 0.19.2. The patch was checked to apply cleanly to 0.19.2 and fail on 0.15.2. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018pPYLxTg6fQV48375mVGGK --------- Co-authored-by: Claude <[email protected]>
zjones-xyz
pushed a commit
to zjones-xyz/nixos-config
that referenced
this pull request
Nov 9, 2026
#242's review found its two lane-policy exceptions under-documented: - DECISIONS.md: new "Lane exceptions from #242" entry. Why codex carries NixOS/nixpkgs#584667 as an overrideAttrs (unstable's cargoUseSystemLibs hook), why hermes-agent follows its own nixpkgs-hermes pin (patchelf 0.15.2 revert), the costs, and the rejected whole-lane rollback. - flake.nix: the Kimi/Hermes banner no longer says both follow nixpkgs-apps; the pin comment points at #252. - home.nix: the coding-agents comment notes Hermes's pin; the codex override comment points at #252. - docs/NIXPKGS-APPS.md: codex joins the "Local compiles on pegasus" list while #252 is open. Comments and docs only: pegasus's toplevel drv is unchanged (path: eval, kr3337i… before and after). #252 tracks removing both exceptions. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018pPYLxTg6fQV48375mVGGK
4 of 13 tasks
matteo-pacini
added a commit
to matteo-pacini/nixos-configs
that referenced
this pull request
Nov 9, 2026
nixos-unstable now ships gdm 51.0, whose pam_gdm accepts the systemd-cached LUKS passphrase without a trailing NUL (GNOME/gdm issue 1091), so BrightFalls no longer needs the pam_gdm patch. Getting gdm 51.0 means bumping nixpkgs to f4a03c0, which brings: - linux 7.2 dropped as EOL: the shared kernel moves to linuxPackages_7_3. - A new Caddy route53 plugin source hash on Nexus. - cargoSetupHook now links system aws-lc, zstd, sqlite and oniguruma (NixOS/nixpkgs#537108). Two packages lack the inputs: - codex: overlay adds them, waiting on NixOS/nixpkgs#584667. - herdr-desktop: the existing 0.1.13 override adds pkg-config and zstd, as NixOS/nixpkgs#584646 does. - jellyfin-tui fails the same way (no system sqlite) and is removed. Also bumps hex to v3.3.0, with the new macOS release zip hash. Built: BrightFalls (local), NightSprings (on NightSprings). Evaluated: Nexus, CauldronLake, WorkLaptop. Co-authored-by: Claude Opus 5.5 <[email protected]>
4 tasks done
alcxyz
added a commit
to alcxyz/nix-config
that referenced
this pull request
Nov 9, 2026
nixpkgs' cargoSetupHook now forces system AWS-LC, so both fail to build on the current channel. Mirror the upstream fixes (NixOS/nixpkgs#584667, #585208), applied only while nixpkgs' package still lacks aws-lc.
jgus-bot
pushed a commit
to jgus-org/codex-flake
that referenced
this pull request
Nov 10, 2026
nixpkgs' cargo hook makes codex's crates probe for system libraries that its package does not declare, so the build dies in zstd-sys' build script. Upstream declares them in NixOS/nixpkgs#584667, which a nixos channel reaches late. codexSysLibsToCarry reads the codex built from this flake's own nixpkgs input and stops evaluating once that package declares all four, so the carry cannot outlive the fix and a following consumer is gated at the revision it actually consumes.
jgus
added a commit
to jgus-org/codex-flake
that referenced
this pull request
Nov 10, 2026
* Carry the system libraries nixpkgs' codex does not declare nixpkgs' cargo hook makes codex's crates probe for system libraries that its package does not declare, so the build dies in zstd-sys' build script. Upstream declares them in NixOS/nixpkgs#584667, which a nixos channel reaches late. codexSysLibsToCarry reads the codex built from this flake's own nixpkgs input and stops evaluating once that package declares all four, so the carry cannot outlive the fix and a following consumer is gated at the revision it actually consumes. * Apply suggestion from @jgus * Apply batched suggestions from code review Co-authored-by: Josh Gustafson <[email protected]> --------- Co-authored-by: Agent <[email protected]> Co-authored-by: Josh Gustafson <[email protected]>
unbeholdendev
added a commit
to unbeholdendev/dotfiles
that referenced
this pull request
Nov 10, 2026
Supersedes the custom prebuilt proposal with the standard upstream nixpkgs package. - Pin nixpkgs to f37ff5c2009e3923aa79378f923f01d5759b6d84, containing the upstream dependency fix NixOS/nixpkgs#584667. - Remove the entire local Codex overlay. No custom binary package remains. - Update flake.lock. Verified the exact Codex 0.167.0 output is signed and available from cache.nixos.org, then downloaded it successfully. The container dry-run avoids compiling Codex, Electron, Node and T3; remaining local builds are packaging/activation. Both container installations succeeded, and installed Codex version, app-server initialize/thread-list/model-list and companion resources passed checks. Both laptop NixOS toplevel evaluations and all 35 installer/launcher tests passed. The nixpkgs update also changes T3 to 0.1.8 and Claude Code to 2.1.321. The input is explicitly pinned until the fix reaches the usual nixos-unstable branch; future nixpkgs updates require changing that revision. Not merged. Reviewed-on: https://git.home.unbeholden.dev/unbeholden/dotfiles/pulls/275
This was referenced Nov 10, 2026
zzantares
pushed a commit
to zzantares/dotless
that referenced
this pull request
Nov 11, 2026
nixpkgs' cargoSetupHook now forces crates onto system libraries (AWS_LC_SYS_USE_SYSTEM=1 and friends), and aws-lc-sys 0.45 panics when it finds none, so `nix flake check` failed building codex 0.167.0. Mirrors nixpkgs master (NixOS/nixpkgs#584667), which nixos-unstable has not picked up yet; drop it on the next nixpkgs bump. Carries the input update that first hit the breakage. Co-Authored-By: Claude Opus 5 <[email protected]>
jgus
pushed a commit
to jgus-org/codex-flake
that referenced
this pull request
Nov 12, 2026
NixOS/nixpkgs#584667 adds aws-lc, oniguruma, sqlite, and zstd to the buildInputs of nixpkgs' own codex. It merged to master on 2026-11-08, so a consumer that follows its nixpkgs into this flake now resolves a nixpkgs that carries them — exactly the condition this block's guard tests for. The four libraries reach the build from nixpkgs' own codex now, so the carry is redundant past that revision while its guard is a hard evaluation failure for every consumer past it. This flake's own lock stays at nixpkgs 4fe25e12eb9f4c744966dd3de5a05246cf098601, which predates the cargoSetupHook change (NixOS/nixpkgs#537108) that made the carry necessary, so the gate builds the package it built before the carry existed. Co-authored-by: jgus-bot <[email protected]>
zjones-xyz
pushed a commit
to zjones-xyz/nixos-config
that referenced
this pull request
Nov 13, 2026
nixpkgs-apps now carries NixOS/nixpkgs#584667, so stock codex 0.167.1 is on cache.nixos.org. The override changed the hash and forced a local source build, which the prebuild had been thrashing on for hours. Closes #252. Co-Authored-By: Claude Opus 5.5 <[email protected]>
zjones-xyz
added a commit
to zjones-xyz/nixos-config
that referenced
this pull request
Nov 13, 2026
* [all] Bump app inputs * [pegasus] Drop codex AWS-LC override; the lane's 0.167.1 builds nixpkgs-apps now carries NixOS/nixpkgs#584667, so stock codex 0.167.1 is on cache.nixos.org. The override changed the hash and forced a local source build, which the prebuild had been thrashing on for hours. Closes #252. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Take codex off the lane's local-compile lists Follow-up to the override drop. Only the codex half of #252 is done; the nixpkgs-hermes pin keeps it open, so drop the earlier commit's "Closes" line from the squash message. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: zjones-xyz <[email protected]> Co-authored-by: z <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
LilijoySkyseeker-agent
added a commit
to LilijoySkyseeker/nixOS
that referenced
this pull request
Nov 13, 2026
Both are fixed in the locked nixos-unstable (d4f25a3): tectonic by NixOS/nixpkgs#584783, codex by NixOS/nixpkgs#584667 (which closed #585124). The overlay held nothing else, so it goes with its two uses. Agent: claude-opus-5-5 2a948968-54da-47ce-864e-933986182eae
unbeholdendev
added a commit
to unbeholdendev/dotfiles
that referenced
this pull request
Nov 13, 2026
#275 pinned nixpkgs to f37ff5c for the Codex dependency fix (NixOS/nixpkgs#584667). nixos-unstable now contains that commit (1540 ahead, 0 behind), so this tracks the branch again and updates the lock to d4f25a3 (2026-11-11). The Codex overlay was already removed in #275. Checks: both laptop toplevel evals pass; `./install.sh container` succeeded twice; Codex 0.167.0 and Claude Code 2.1.321 run. Reviewed-on: https://git.home.unbeholden.dev/unbeholden/dotfiles/pulls/280
matteo-pacini
added a commit
to matteo-pacini/nixos-configs
that referenced
this pull request
Nov 13, 2026
The upstream fix, NixOS/nixpkgs#584667, is in the nixos-unstable pin. With the override on top, codex no longer matched the cached build and compiled from source, which starved the CI runners until they dropped out. Co-Authored-By: Claude <[email protected]>
matteo-pacini
added a commit
to matteo-pacini/nixos-configs
that referenced
this pull request
Nov 13, 2026
* chore: weekly flake update - 2026-11-12T11:25:56Z * feat(herdr): copy herdr context to the clipboard pane-menu's "Add herdr context" pasted into the agent with `hc send --no-submit`, carried as a herdr-core patch. The patch never worked reliably and no longer applies to herdr-core 0.1.18, which broke the build of every host that installs herdr. Drop the patch and the override. The item is now "Copy herdr context": it puts the text on the clipboard (pbcopy on macOS, wl-copy elsewhere) and focuses the agent's pane for the person to paste. It no longer needs an idle agent, so it shows for any Claude Code, Codex or opencode pane. wl-clipboard joins the workbench's packages on Linux, since wl-copy was not on the app's PATH. Co-Authored-By: Claude <[email protected]> * chore: drop the herdr-desktop 0.1.13 override nixpkgs now ships herdr-desktop 0.1.13 with the same sandbox fixes, so the override's /var/tmp substitution found nothing left to replace and failed the build. Co-Authored-By: Claude <[email protected]> * chore: drop the codex system-libs override The upstream fix, NixOS/nixpkgs#584667, is in the nixos-unstable pin. With the override on top, codex no longer matched the cached build and compiled from source, which starved the CI runners until they dropped out. Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Claude <[email protected]>
unbeholdendev
added a commit
to unbeholdendev/dotfiles
that referenced
this pull request
Nov 20, 2026
Supersedes the custom prebuilt proposal with the standard upstream nixpkgs package. - Pin nixpkgs to f37ff5c2009e3923aa79378f923f01d5759b6d84, containing the upstream dependency fix NixOS/nixpkgs#584667. - Remove the entire local Codex overlay. No custom binary package remains. - Update flake.lock. Verified the exact Codex 0.167.0 output is signed and available from cache.nixos.org, then downloaded it successfully. The container dry-run avoids compiling Codex, Electron, Node and T3; remaining local builds are packaging/activation. Both container installations succeeded, and installed Codex version, app-server initialize/thread-list/model-list and companion resources passed checks. Both laptop NixOS toplevel evaluations and all 35 installer/launcher tests passed. The nixpkgs update also changes T3 to 0.1.8 and Claude Code to 2.1.321. The input is explicitly pinned until the fix reaches the usual nixos-unstable branch; future nixpkgs updates require changing that revision. Not merged. Reviewed-on: https://git.home.unbeholden.dev/unbeholden/dotfiles/pulls/275
unbeholdendev
added a commit
to unbeholdendev/dotfiles
that referenced
this pull request
Nov 20, 2026
#275 pinned nixpkgs to f37ff5c for the Codex dependency fix (NixOS/nixpkgs#584667). nixos-unstable now contains that commit (1540 ahead, 0 behind), so this tracks the branch again and updates the lock to d4f25a3 (2026-11-11). The Codex overlay was already removed in #275. Checks: both laptop toplevel evals pass; `./install.sh container` succeeded twice; Codex 0.167.0 and Claude Code 2.1.321 run. Reviewed-on: https://git.home.unbeholden.dev/unbeholden/dotfiles/pulls/280
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.