git.iko.soy/typeable/nixpkgs
on master help sign in
dnscrypt-proxy module: types.string should be types.str
commitc91d07b6689c9f7bd90622a0d31530005c02256d authorJoachim Fasting <joachifm@fastmail.fm> dateMon 1 Aug 2016, 12:55 (10 years ago) parent76f2e82
1 file changed+2−2
nixos/modules/services/networking/dnscrypt-proxy.nix+2−2
nixos/modules/services/networking/dnscrypt-proxy.nix+2−2
@@ -55,7 +55,7 @@ in
5555 ''; };
5656 localAddress = mkOption {
5757 default = "127.0.0.1";
58− type = types.string;
58+ type = types.str;
5959 description = ''
6060 Listen for DNS queries to relay on this address. The only reason to
6161 change this from its default value is to proxy queries on behalf
@@ -74,7 +74,7 @@ in
7474 };
7575 resolverName = mkOption {
7676 default = "dnscrypt.eu-nl";
77− type = types.nullOr types.string;
77+ type = types.nullOr types.str;
7878 description = ''
7979 The name of the upstream DNSCrypt resolver to use, taken from the
8080 list named in the <literal>resolverList</literal> option.