chore: Update Nix hash
Resolved 💬 2 comments Opened Apr 22, 2025 by gerred Closed Oct 18, 2025
💡 Likely answer: A maintainer (0xadeeb, contributor)
responded on this thread — see the highlighted reply below.
Tracking issue for me to come back and update the Nix deps hash and look for ways to potentially update that with a Github action or dependabot @tibo-openai - noticed the velocity of the repo after merging the Flake and want to ensure that remains / grows in usefulness.
2 Comments
Hey there 👋 , just wanted to try codex-rs and noticed it wouldn't build for me.
ratatuiwas added as a git dependency inCargo.lockwhich makesbuildRustPackagebail out because of the missingcargoLock.outputHashesfor it.This could be fixed by adding
cargoLock.allowBuiltinFetchGit = trueand it would require less maintenance in the future, when git dependencies are changed.After this, the build would fail because of the outdated toolchain, in pinned
nixpkgsat1.85.0, through definition ofcodex-rs/rust-toolchain.tomlnow at1.88.0.Since the introduction of
rust-overlayinput by ae809f37217083b942278d9139d970d10895d6b9, this could be solved by finally using it for real, like inand using this
rustPlatformto build the package.In my view this would make the flake package quite robust to upgrades, given the
rust-overlayinput is updated frequently through automation.Does that seem like a good plan to you? @gerred @0xadeeb
I think this would be the way to go forward, LGTM @calbrecht