Skip to content

home: ensure --configuration is correctly passed to switch#263

Merged
NotAShelf merged 3 commits intomasterfrom
fix-homes
Apr 30, 2025
Merged

home: ensure --configuration is correctly passed to switch#263
NotAShelf merged 3 commits intomasterfrom
fix-homes

Conversation

@NotAShelf
Copy link
Member

@NotAShelf NotAShelf commented Apr 29, 2025

This is a little dirty for my taste, but it fixes the regression inbetween 3.6.0 and the 4.0.0 releases. Not sure where the regression was introduced, but from what I can tell the latest 4.0.0 beta does not have the logic to parse --configuration so it's definitely @viperML's fault and not mine. Trust 🙏

I've also made home switch a little more verbose and improved existing implementation where it caught my attention.

Fixes #262

@drupol
Copy link

drupol commented Apr 30, 2025

Looking forward for this fix too !

@NotAShelf
Copy link
Member Author

I'll merge this after I write some tests to make sure we never regress the nh home interface again.

@NotAShelf
Copy link
Member Author

Actually I think we need to think about a comprehensive test setup later, I'll merge this and PR nixpkgs to to make sure it gets the regression out of the way. I'll think about tests with #258 or when I change the internal structure.

@NotAShelf NotAShelf merged commit 894bb7e into master Apr 30, 2025
4 checks passed
@github-actions github-actions bot deleted the fix-homes branch June 1, 2025 04:32
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.

nh v4: Ignores custom --configuration flag

2 participants