Conversation
📝 WalkthroughWalkthroughReplaced Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
58bf429 to
7d6e51e
Compare
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
nix-bindings-store/src/store.rs (1)
674-687: Update version gate to 2.33 for v4 JSON test fixtures.
Derivation JSON v4 with the newinputs: { srcs, drvs }shape was introduced in Nix 2.33.0. The current#[cfg(nix_at_least = "2.31")]gating is too permissive—tests emitting v4 JSON will fail on Nix 2.31 and 2.32, which only support v3 (with top-levelinputSrcs/inputDrvs). Change the cfg gate tonix_at_least = "2.33"for all v4 JSON fixtures at lines 674-687, 759-783, 837-850, 893-906, 949-962, or provide separate v3-format fixtures for 2.31/2.32 compatibility.
🧹 Nitpick comments (1)
nix-bindings-fetchers/src/lib.rs (1)
37-45: Initialization call is correctly placed.Calling
init()?at the start ofnew()ensures libfetchers is initialized before settings creation.Minor style inconsistency: Line 10 uses
check_call!(via direct import), while line 41 usescontext::check_call!. Consider using consistent macro invocation throughout the file.♻️ Optional: Consistent macro usage
- let ptr = unsafe { context::check_call!(raw::fetchers_settings_new(&mut ctx))? }; + let ptr = unsafe { check_call!(raw::fetchers_settings_new(&mut ctx))? };
7ce493e to
0b7880e
Compare
| inputs = { | ||
| flake-parts.url = "github:hercules-ci/flake-parts"; | ||
| nix.url = "github:DeterminateSystems/nix-src"; | ||
| nix.url = "github:DeterminateSystems/nix-src/tristanross/dsp-62-collab-figure-out-static-building-of-determinate-nix"; |
There was a problem hiding this comment.
Does this PR depend on this branch, or were you just playing with it?
There was a problem hiding this comment.
Depends on it for the nix_libfetchers_init function.
0b7880e to
14d0acf
Compare
Depends on https://github.com/DeterminateSystems/nix-src/tree/tristanross/dsp-62-collab-figure-out-static-building-of-determinate-nix
Summary by CodeRabbit
Refactor
Chores
✏️ Tip: You can customize this high-level summary in your review settings.