-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix typo in xdg-user-dirs. #987
Conversation
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.
Don't you have to change it on line 93 as well?
@vojta001 You are correct. Fixed. |
this may break configs, not sure if we can alias the option or if it's worth it. |
@teto Is breaking config for incorrect configuration keys such a bad thing? I know I had to triple check when first setting up my XDG config since the typo is easily overlooked. so that's a cost for users as well. |
I think thats fine considering its a relatively new module but I prefer to wait for @rycee s approval |
Thanks for the discovery and fix! I would suggest adding imports = [
(mkRenamedOptionModule
[ "xdg" "userDirs" "publishShare" ]
[ "xdg" "userDirs" "publicShare" ])
]; to the module, under the Then configurations using the old name will still work but a warning will be printed saying the name has changed. We can remove this |
Oh, also. The commit description should be changed to match the guidelines. Something like
should be fine. |
@rycee Thank you for the feedback. I changed the commit message and added your suggestion. |
Thanks! Rebased to master in c8323a0. |
Configuration key publishShare has been replaced by publicShare.
See #985