forked from LnL7/nix-darwin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: StartCalendarInterval type,
nix.gc.interval
Stricter launchd -> StartCalendarInterval type which now verifies that the ints passed to `Minute`, `Hour`, etc. are within range. The type now allows `null`, a `StartCalendarInterval` submodule, or a non-empty list of `StartCalendarInterval` submodules. The example and default now type-check successfully. Set `nix.gc.interval.type` to launchd's `StartCalendarInterval.type` sans `null`. It now accepts a list as well. The example and default now type-check successfully. Improve wording/documentation of `nix.gc.interval` ("time interval" can be misleading as it's actually a "calendar" interval, i.e. `{ Hour = 3; Minute = 15;}` actually runs daily, not every 3.25 hours).
- Loading branch information
Showing
2 changed files
with
51 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters