codex - 💡(How to fix) Fix build/nix: Missing voice dependencies such as libwebrtc [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17639Fetched 2026-04-14 05:41:56
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2

Error Message

error: No hash was found while vendoring the git dependency libwebrtc-0.3.26. You can add

RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

0.120.0

What subscription do you have?

Plus

Which model were you using?

No response

What platform is your computer?

Linux 6.18.21 x86_64 unknown

What terminal emulator and version are you using (if applicable)?

No response

What issue are you seeing?

   error: No hash was found while vendoring the git dependency libwebrtc-0.3.26. You can add
   a hash through the `outputHashes` argument of `importCargoLock`:

   outputHashes = {
     "libwebrtc-0.3.26" = "<hash>";
   };

What steps can reproduce the bug?

nix --extra-experimental-features "nix-command flakes" run github:openai/codex/rust-v0.120.0#codex-rs

What is the expected behavior?

Should build and run

Additional information

No response

extent analysis

TL;DR

Add a hash for the libwebrtc-0.3.26 dependency through the outputHashes argument of importCargoLock to resolve the vendoring issue.

Guidance

  • The error message indicates a missing hash for libwebrtc-0.3.26, which is required for vendoring the git dependency.
  • To fix this, you need to add the hash to the outputHashes argument of importCargoLock, as suggested in the error message.
  • You can obtain the hash by checking the dependency's repository or documentation, or by using a tool like nix-hash to generate it.
  • Once you have the hash, update the outputHashes argument with the correct hash value for libwebrtc-0.3.26.

Example

outputHashes = {
  "libwebrtc-0.3.26" = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
};

Replace xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx with the actual hash value.

Notes

The exact hash value for libwebrtc-0.3.26 is not provided in the issue, so you will need to obtain it separately.

Recommendation

Apply workaround: Add the hash for libwebrtc-0.3.26 to the outputHashes argument, as this is the most direct solution to the error message.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING