Nix build fails: stale rmcp hash and missing filedescriptor hash
Resolved 💬 0 comments Opened Dec 9, 2025 by tyleranton Closed Dec 9, 2025
What version of Codex is running?
latest
What subscription do you have?
chatgpt plus
Which model were you using?
_No response_
What platform is your computer?
_No response_
What issue are you seeing?
Building Codex via Nix currently fails during buildRustPackage. Two stale entries in codex-rs/default.nix’s
cargoLock.outputHashes don’t match the crates in Cargo.lock:
rmcpnow comes from crates.io (0.10.x), but we still list a git hash for it, so evaluation aborts with “A hash was
specified for rmcp-0.10.0, but there is no corresponding git dependency.”
filedescriptorcomes from a git dependency (pakrym/wezterm) but has no hash, so vendoring fails with “No hash was found while vendoring the git dependency filedescriptor-0.8.3.”
What steps can reproduce the bug?
nix flake updatenixos-rebuild switch
What is the expected behavior?
_No response_
Additional information
error:
… while calling the 'head' builtin
at /nix/store/cd6v80pj9h7r2prxx9a71y92zq88p1xx-source/lib/attrsets.nix:1696:13:
1695| if length values == 1 || pred here (elemAt values 1) (head values) then
1696| head values
| ^
1697| else
… while evaluating the attribute 'value'
at /nix/store/cd6v80pj9h7r2prxx9a71y92zq88p1xx-source/lib/modules.nix:1118:7:
1117| // {
1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1119| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/cd6v80pj9h7r2prxx9a71y92zq88p1xx-source/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `system.systemBuilderArgs':
… while evaluating definitions from `/nix/store/cd6v80pj9h7r2prxx9a71y92zq88p1xx-source/nixos/modules/system/activation/activatable-system.nix':
… while evaluating the option `system.activationScripts.etc.text':
… while evaluating definitions from `/nix/store/cd6v80pj9h7r2prxx9a71y92zq88p1xx-source/nixos/modules/system/etc/etc-activation.nix':
… while evaluating definitions from `/nix/store/cd6v80pj9h7r2prxx9a71y92zq88p1xx-source/nixos/modules/system/etc/etc.nix':
… while evaluating the option `environment.etc.dbus-1.source':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: A hash was specified for rmcp-0.9.0, but there is no corresponding git dependency.