1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-03 15:40:59 +01:00

More sensible to have deleteGCPath in LocalStore.

This commit is contained in:
Ben Radford 2023-06-06 12:06:32 +01:00 committed by Ben Radford
parent a48acfd684
commit 8a9baa0a30
5 changed files with 14 additions and 14 deletions

View file

@ -222,7 +222,7 @@ void LocalOverlayStore::deleteGCPath(const Path & path, uint64_t & bytesFreed)
return;
}
if (pathExists(toUpperPath({path.substr(mergedDir.length())}))) {
GcStore::deleteGCPath(path, bytesFreed);
LocalStore::deleteGCPath(path, bytesFreed);
}
}