Nix build fails: filedescriptor output hash has no matching git dependency
What version of Codex is running?
0.69.0
What subscription do you have?
plus
Which model were you using?
_No response_
What platform is your computer?
NixOS (Linux 6.12.60 x86_64 unknown)
What issue are you seeing?
nix build .#codex-rs started failing after updating the flake because codex-rs/default.nix still listed filedescriptor-0.8.3 in cargoLock.outputHashes, even though commit 164265bed1eb0d0ebf453196c39c79809d4f1b7a switched filedescriptor (and portable-pty) back to the crates.io registry. Nix now errors with “A hash was specified for filedescriptor-0.8.3, but there is no corresponding git dependency.”
What steps can reproduce the bug?
- Update latest from
main. - Run
nix build .#codex-rs. - Build fails with the missing git dependency error.
What is the expected behavior?
_No response_
Additional information
This is rather unfortunate as I just added this output hash yesterday to address #7759
My initial thought is to run nix build .#codex-rs in CI so that these sorts of issues are caught in PRs. I understand this may not be desirable as contributors may not know how to address problems that may come up with nix.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗