Update queryPathInfo calls

This commit is contained in:
Eelco Dolstra
2012-07-18 23:14:45 +02:00
parent da960b507d
commit 2ab4c7d597
3 changed files with 4 additions and 6 deletions

View File

@ -385,12 +385,12 @@ sub doBuild {
my $closuresize = 0;
if (isValidPath($outPath)) {
my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($outPath);
my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($outPath, 0);
$size = $narSize;
my @closure = computeFSClosure(0, 0, $outPath);
foreach my $path (@closure) {
my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($path);
my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($path, 0);
$closuresize += $narSize;
}
}