From 74fadae9421bf39b740c5c6a5fe26e7667627840 Mon Sep 17 00:00:00 2001 From: Lin Jian Date: Tue, 8 Aug 2023 20:45:53 +0800 Subject: treewide: stop using types.string It is an error[1] now. [1]: https://github.com/NixOS/nixpkgs/pull/247848 --- nixos/modules/services/cluster/patroni/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services/cluster') diff --git a/nixos/modules/services/cluster/patroni/default.nix b/nixos/modules/services/cluster/patroni/default.nix index 9bf3a285836..5ab016a9f59 100644 --- a/nixos/modules/services/cluster/patroni/default.nix +++ b/nixos/modules/services/cluster/patroni/default.nix @@ -105,7 +105,7 @@ in }; otherNodesIps = mkOption { - type = types.listOf types.string; + type = types.listOf types.str; example = [ "192.168.1.2" "192.168.1.3" ]; description = mdDoc '' IP addresses of the other nodes. -- cgit 1.4.1