cjdns: fix assertion.

This commit is contained in:
Carles Pagès 2016-08-25 08:57:18 +02:00
parent afb821fa15
commit 3374aa25bc

View file

@ -253,7 +253,7 @@ in
networking.extraHosts = "${cjdnsHosts}";
assertions = [
{ assertion = ( cfg.ETHInterface.bind != "" || cfg.UDPInterface.bind != "" || cfg.confFile == "" );
{ assertion = ( cfg.ETHInterface.bind != "" || cfg.UDPInterface.bind != "" || cfg.confFile != "" );
message = "Neither cjdns.ETHInterface.bind nor cjdns.UDPInterface.bind defined.";
}
{ assertion = config.networking.enableIPv6;