-
Notifications
You must be signed in to change notification settings - Fork 6
fetchTree: Implicitly set __final = true when a narHash is supplied #297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughRemoved the fetchFinalTree public API and the Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–25 minutes
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
Comment |
This makes fetchTree substitutable, which is good for flake-compat. It also means that Git fetches will be implicitly shallow (since we don't need to get a revCount).
d3e9920 to
36c91b0
Compare
Motivation
This makes
fetchTreesubstitutable, which is good forflake-compat. It also means that Git fetches will be implicitly shallow (since we don't need to get arevCount).Alternative to NixOS#14634.
Context
Summary by CodeRabbit
Breaking Changes
Improvements
Tests
✏️ Tip: You can customize this high-level summary in your review settings.