From af555d76949c6193df232eb0d90e04c323b459ca Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 9 Dec 2014 20:43:12 +0100 Subject: [PATCH] Doh --- scripts/download-from-binary-cache.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in index 0e640ee34..6285a0503 100644 --- a/scripts/download-from-binary-cache.pl.in +++ b/scripts/download-from-binary-cache.pl.in @@ -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"} //