From 86a114ac458861b60ae67252ffe056f4cfc2f328 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 18 Sep 2021 17:35:30 +0300 Subject: fix(ops/restic): types.string -> types.str I can never remember which is which. Change-Id: I69b8235862b8c5b49030a74bfca25aaa113273b7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3582 Tested-by: BuildkiteCI Reviewed-by: sterni --- ops/modules/restic.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ops/modules/restic.nix b/ops/modules/restic.nix index f107609586..3d5ec30c1c 100644 --- a/ops/modules/restic.nix +++ b/ops/modules/restic.nix @@ -9,7 +9,7 @@ let description = "Restic backups to GCS"; mkStringOption = default: lib.mkOption { inherit default; - type = lib.types.string; + type = lib.types.str; }; in { options.services.depot.restic = { @@ -21,12 +21,12 @@ in { paths = with lib; mkOption { description = "Directories that should be backed up"; - type = types.listOf types.string; + type = types.listOf types.str; }; exclude = with lib; mkOption { description = "Files that should be excluded from backups"; - type = types.listOf types.string; + type = types.listOf types.str; }; }; -- cgit 1.4.1