-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Stores no longer inherit from their configs #13154
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
e1acf3d
to
d3a56fa
Compare
@xokdvium I think the constructor for I am not sure how to fix this with the old settings system. Of course, my new store settings system in #11139 is designed to fix just these sorts of issues, but the point of splitting out this PR was to not do that refactor just yet. Any ideas? (I am running UBSAN right now to check this hypothesis.) |
theory was correct |
d3a56fa
to
8598565
Compare
Solved an OOP problem with more OOP 🥴 |
Fix NixOS#10766 See that ticket for details. Progress (I hope!) towards NixOS#11139. Co-Authored-By: Sergei Zimmerman <[email protected]>
8598565
to
934918b
Compare
Big thanks to @xokdvium for figuring out the bug with |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2025-05-14-nix-team-meeting-minutes-226/64298/1 |
* Need to make this a separate class so I can get the right | ||
* initialization order in the constructor for `StoreDirConfig`. | ||
*/ | ||
struct StoreDirConfigItself : Config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not loving this name...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#13196 better?
context: #13154 (comment) (cherry picked from commit 2dd2142)
Motivation
Fix #10766
Context
See that ticket for details.
Progress (I hope!) towards #11139.
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.