fix the binary cache calling isValidPath, and 2 other files with the same issue

This commit is contained in:
Michael Bishop
2024-09-20 04:08:22 -03:00
parent 879ceb5cdc
commit cc1b6d394e
3 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ sub buildFinished {
my $hash = substr basename($path), 0, 32;
my ($deriver, $narHash, $time, $narSize, $refs) = queryPathInfo($path, 0);
my $system;
if (defined $deriver and isValidPath($deriver)) {
if (defined $deriver and $MACHINE_LOCAL_STORE->isValidPath($deriver)) {
$system = derivationFromPath($deriver)->{platform};
}
foreach my $reference (@{$refs}) {