chore: lib.types.string -> lib.types.str
lib.types.string concatenates conflicting definitions on module merge which is counter intuitive and hard to debug behavior. Change-Id: I8ccdca0e8895fb5cc4600c367f8d52a9ab80ff75 Reviewed-on: https://cl.tvl.fyi/c/depot/+/13177 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: aspen <root@gws.fyi>
This commit is contained in:
parent
a16eee2437
commit
11681612c3
3 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ in
|
|||
enable = lib.mkEnableOption description;
|
||||
|
||||
caches = lib.mkOption {
|
||||
type = with lib.types; listOf string;
|
||||
type = with lib.types; listOf str;
|
||||
description = "Public addresses of caches to use";
|
||||
|
||||
default = [
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ in
|
|||
|
||||
interval = mkOption {
|
||||
description = "Systemd calendar expression for how often to run the interval";
|
||||
type = types.string;
|
||||
type = types.str;
|
||||
default = "minutely";
|
||||
example = "hourly";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue