aboutsummaryrefslogtreecommitdiff
path: root/scripts/maintenance/shrink-manifest.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maintenance/shrink-manifest.pl')
-rwxr-xr-xscripts/maintenance/shrink-manifest.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/maintenance/shrink-manifest.pl b/scripts/maintenance/shrink-manifest.pl
index 9ceb4af90..7be581448 100755
--- a/scripts/maintenance/shrink-manifest.pl
+++ b/scripts/maintenance/shrink-manifest.pl
@@ -7,11 +7,10 @@ use readcache;
my %allNarFiles;
my %allPatches;
-my %allSuccessors;
foreach my $manifest (glob "/data/webserver/dist/*/*/MANIFEST") {
print STDERR "loading $manifest\n";
- readManifest($manifest, \%allNarFiles, \%allPatches, \%allSuccessors, 1);
+ readManifest($manifest, \%allNarFiles, \%allPatches, 1);
}
@@ -22,9 +21,8 @@ foreach my $manifest (@ARGV) {
my %narFiles;
my %patches;
- my %successors;
- if (readManifest($manifest, \%narFiles, \%patches, \%successors, 1) < 3) {
+ if (readManifest($manifest, \%narFiles, \%patches, 1) < 3) {
print STDERR "manifest `$manifest' is too old (i.e., for Nix <= 0.7)\n";
next;
}