{darwin,nixos}/clash: replace types.string with types.str

This commit is contained in:
Guanran Wang 2024-01-03 23:40:08 +08:00
parent cba8083a0e
commit 33a42f5f82
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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.";
};
};

View file

@ -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.";
};
};