This commit is contained in:
Eelco Dolstra 2014-12-09 20:43:12 +01:00
parent d44d923be9
commit af555d7694

View file

@ -52,7 +52,7 @@ sub isTrue {
return $x eq "true" || $x eq "1";
}
my $requireSignedBinaryCaches = isTrue($Nix::Config::config{"signed-binary-caches"} // "0");
my $requireSignedBinaryCaches = ($Nix::Config::config{"signed-binary-caches"} // "0") ne "0";
my $curlConnectTimeout = int(
$Nix::Config::config{"untrusted-connect-timeout"} //