-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
lorri: add darwin launchd support #8186
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
base: master
Are you sure you want to change the base?
Conversation
Add a darwin daemon for lorri
38d57f5 to
b3a1995
Compare
|
@Gerschtli @nyarly anything I can do to move this along? |
Sorry - it's been holiday weeks around here. Lemme look... |
nyarly
left a comment
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.
I can't test this on Darwin, but it looks good to me.
| warnings = | ||
| if cfg.enableNotifications then | ||
| [ | ||
| "services.lorri.enableNotifications is not currently supported for Darwin." | ||
| ] | ||
| else | ||
| [ ]; |
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.
Could probably make it not visible and read-only on darwin, as well.
| assertions = [ | ||
| (lib.hm.assertions.assertPlatform "services.lorri" pkgs lib.platforms.linux) | ||
| ]; |
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.
If we're removing the platform limitation, it would be nice to create a news entry and update the test suite to test on darwin, as well.
Description
Add a Darwin daemon for lorri
Checklist
Change is backwards compatible.
Code formatted with
nix fmtornix-shell -p treefmt nixfmt deadnix keep-sorted --run treefmt.Code tested through
nix run .#tests -- test-allornix-shell --pure tests -A run.all.Test cases updated/added. See example.
Commit messages are formatted like