nix build missmatch of dependency hash
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- rust
- Domain
- build-system
Research direction
Start by reproducing the failure with nix profile add github:openai/codex on the reported platform. Inspect the Nix packaging and Cargo vendoring inputs associated with tokio-tungstenite-0.28.0; done means the dependency hash is accepted and Codex builds and installs successfully.
Written by the indexing model from the issue text.
Description
What version of Codex CLI is running?
It's not running, but latest commit on main was attempted to be built.
What subscription do you have?
not relevant
Which model were you using?
No response
What platform is your computer?
Darwin 25.3.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
No response
Codex doctor report
not relevant
What issue are you seeing?
When running nix profile add github:openai/codex:
# large build log output ...
error: hash mismatch in fixed-output derivation '/nix/store/p0sldbpzphpl8xk85kw0ymqlr25i849l-tokio-tungstenite-0e5b2d7.drv':
specified: sha256-hJAkvWxDjB9A9GqansahWhTmj/ekcelslLUTtwqI7lw=
got: sha256-V1xmnrfRWOcZZogelZEA4vvyMj2awCfHVA5/glQ6KAI=
error: Cannot build '/nix/store/lgqa0v8wm213ba0g2whz4k51zckialik-tokio-tungstenite-0.28.0.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/3fizdrm5rvvh1c877823096vrf5ik82x-tokio-tungstenite-0.28.0
error: Cannot build '/nix/store/y0z3ldh8zam8qd1x3b7gsgmifd19wkjb-cargo-vendor-dir.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/1z4lp3xgx3ycc9iars469c1xq02dh5pw-cargo-vendor-dir
error: Cannot build '/nix/store/wn6wbvb3f88ajclki9n2kxwrwvpzzcvd-codex-rs-0.0.0-dev+18110b8.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/mph6f9ldkc9ll76zm40wqzjp4hb4c2ra-codex-rs-0.0.0-dev+18110b8
$
What steps can reproduce the bug?
Run: nix profile add github:openai/codex
What is the expected behavior?
That codex gets built and installed by nix.
Additional information
No response
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·