-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
palette: fix eval fail when image is null #912
base: master
Are you sure you want to change the base?
Conversation
Cross-post:
|
Newer version:
|
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.
LGTM
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.
LGTM.
@danth It seems that your requested changes blocked the merge. Can you take a further look to clarify what's the to be discussed/improved on? |
Fixes #911
Allows
stylix.base16Scheme
to be set to null whenstylix.image
is null. Therefore the assertion in the module can be triggered as expected.Also adds
lib.mkIf
to this internal module, as the mentioned assertion will cause eval fail when the whole stylix module is not enabled. E.g. on large config with multiple hosts, where this module is not enabled on some devices.