3
0
Fork 0
forked from mirrors/nixpkgs

dnscrypt-proxy module: types.string should be types.str

This commit is contained in:
Joachim Fasting 2016-08-01 12:55:42 +02:00
parent 76f2e827a7
commit c91d07b668
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -55,7 +55,7 @@ in
''; }; ''; };
localAddress = mkOption { localAddress = mkOption {
default = "127.0.0.1"; default = "127.0.0.1";
type = types.string; type = types.str;
description = '' description = ''
Listen for DNS queries to relay on this address. The only reason to Listen for DNS queries to relay on this address. The only reason to
change this from its default value is to proxy queries on behalf change this from its default value is to proxy queries on behalf
@ -74,7 +74,7 @@ in
}; };
resolverName = mkOption { resolverName = mkOption {
default = "dnscrypt.eu-nl"; default = "dnscrypt.eu-nl";
type = types.nullOr types.string; type = types.nullOr types.str;
description = '' description = ''
The name of the upstream DNSCrypt resolver to use, taken from the The name of the upstream DNSCrypt resolver to use, taken from the
list named in the <literal>resolverList</literal> option. list named in the <literal>resolverList</literal> option.