diff options
Diffstat (limited to 'scripts/nix-pull.in')
-rw-r--r-- | scripts/nix-pull.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/nix-pull.in b/scripts/nix-pull.in index f3b533ff7a4c..8ea78d10d3d3 100644 --- a/scripts/nix-pull.in +++ b/scripts/nix-pull.in @@ -26,7 +26,6 @@ if (! -e $manifestDir) { # Process the URLs specified on the command line. my %narFiles; -my %localPaths; my %patches; my $skipWrongStore = 0; @@ -70,7 +69,7 @@ sub processURL { $manifest = downloadFile $url; } - my $version = readManifest($manifest, \%narFiles, \%localPaths, \%patches); + my $version = readManifest($manifest, \%narFiles, \%patches); die "`$url' is not a manifest or it is too old (i.e., for Nix <= 0.7)\n" if $version < 3; die "manifest `$url' is too new\n" if $version >= 5; @@ -129,5 +128,5 @@ while (@ARGV) { } -my $size = scalar (keys %narFiles) + scalar (keys %localPaths); +my $size = scalar (keys %narFiles); print "$size store paths in manifest\n"; |