aboutsummaryrefslogtreecommitdiff
path: root/perl/lib
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-21 15:06:46 +0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-21 15:06:46 +0100
commit4bb38591e591e3ef59f7881575ca1f28015a8c47 (patch)
tree411e6f98a2802f5d9f04fdbb01fe76ffcb10cefe /perl/lib
parent7347daba8cf3a12706d3714bdaf9b7c104accde6 (diff)
Restore cache.nixos.org as the default substituter
Fixes #1283.
Diffstat (limited to 'perl/lib')
-rw-r--r--perl/lib/Nix/Config.pm.in10
1 files changed, 0 insertions, 10 deletions
diff --git a/perl/lib/Nix/Config.pm.in b/perl/lib/Nix/Config.pm.in
index 3575d99cb..3613926f5 100644
--- a/perl/lib/Nix/Config.pm.in
+++ b/perl/lib/Nix/Config.pm.in
@@ -19,10 +19,6 @@ $useBindings = "@perlbindings@" eq "yes";
%config = ();
-%binaryCachePublicKeys = ();
-
-$defaultPublicKeys = "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=";
-
sub readConfig {
if (defined $ENV{'_NIX_OPTIONS'}) {
foreach my $s (split '\n', $ENV{'_NIX_OPTIONS'}) {
@@ -40,12 +36,6 @@ sub readConfig {
}
close CONFIG;
}
-
- foreach my $s (split(/ /, $config{"binary-cache-public-keys"} // $defaultPublicKeys)) {
- my ($keyName, $publicKey) = split ":", $s;
- next unless defined $keyName && defined $publicKey;
- $binaryCachePublicKeys{$keyName} = decode_base64($publicKey);
- }
}
return 1;