treewide: stop using types.string

It is an error[1] now.

[1]: https://github.com/NixOS/nixpkgs/pull/247848
This commit is contained in:
Lin Jian 2023-08-08 20:45:53 +08:00
commit 74fadae942
No known key found for this signature in database
GPG key ID: A6698D36434F75A5
9 changed files with 14 additions and 14 deletions

View file

@ -89,7 +89,7 @@ in {
options = {
enable = mkEnableOption (mdDoc "GameScope Session");
args = mkOption {
type = types.listOf types.string;
type = types.listOf types.str;
default = [ ];
description = mdDoc ''
Arguments to be passed to GameScope for the session.
@ -97,7 +97,7 @@ in {
};
env = mkOption {
type = types.attrsOf types.string;
type = types.attrsOf types.str;
default = { };
description = mdDoc ''
Environmental variables to be passed to GameScope for the session.