From b671517f28ff963a4953b507ce167d6420ee3613 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Thu, 10 Aug 2023 13:46:47 +1000 Subject: [PATCH] finder: `types.string` -> `types.str` `string` was changed from deprecation warning to error in https://github.com/NixOS/nixpkgs/commit/c59c6b1c57da542b6b4af5d2ac27d1b99e7f0c5e --- modules/system/defaults/finder.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/defaults/finder.nix b/modules/system/defaults/finder.nix index 422e888..1137e6c 100644 --- a/modules/system/defaults/finder.nix +++ b/modules/system/defaults/finder.nix @@ -30,7 +30,7 @@ with lib; }; system.defaults.finder.FXDefaultSearchScope = mkOption { - type = types.nullOr types.string; + type = types.nullOr types.str; default = null; description = lib.mdDoc '' Change the default search scope. Use "SCcf" to default to current folder. @@ -39,7 +39,7 @@ with lib; }; system.defaults.finder.FXPreferredViewStyle = mkOption { - type = types.nullOr types.string; + type = types.nullOr types.str; default = null; description = lib.mdDoc '' Change the default finder view.