Skip to content
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

Other switches might set changed as true. Use extraStrings size. #416 #473

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

brenoguim
Copy link
Collaborator

@brenoguim brenoguim commented Mar 4, 2023

I didn't realize that "changed" could be set by other switches before reaching the renaming function.
In this case, it tried to add zero strings and failed an assertion due to that.
Added a test that breaks without the fix.

RyanGibb added a commit to RyanGibb/nixos that referenced this pull request Mar 4, 2023
RyanGibb added a commit to RyanGibb/nixos that referenced this pull request Mar 4, 2023
@brenoguim brenoguim marked this pull request as ready for review March 4, 2023 17:05
@Mic92
Copy link
Member

Mic92 commented Mar 7, 2023

bors merge

@bors bors bot merged commit ea2fca7 into NixOS:master Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants