From 33a42f5f829dbd9c76a4c99fa71d5e6b73192843 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 3 Jan 2024 23:40:08 +0800 Subject: [PATCH] {darwin,nixos}/clash: replace types.string with types.str --- darwin/modules/services/clash/default.nix | 2 +- nixos/modules/services/clash.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/darwin/modules/services/clash/default.nix b/darwin/modules/services/clash/default.nix index 0795c66..f32f3c7 100644 --- a/darwin/modules/services/clash/default.nix +++ b/darwin/modules/services/clash/default.nix @@ -33,7 +33,7 @@ in { }; extraOpts = lib.mkOption { default = null; - type = lib.types.nullOr lib.types.string; + type = lib.types.nullOr lib.types.str; description = "Extra command line options to use."; }; }; diff --git a/nixos/modules/services/clash.nix b/nixos/modules/services/clash.nix index 7bf827d..f5cafc6 100644 --- a/nixos/modules/services/clash.nix +++ b/nixos/modules/services/clash.nix @@ -33,7 +33,7 @@ in { }; extraOpts = lib.mkOption { default = null; - type = lib.types.nullOr lib.types.string; + type = lib.types.nullOr lib.types.str; description = "Extra command line options to use."; }; };