mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 07:31:00 +01:00
Override verifyStore to always pass NoRepair for LocalOverlayStore.
This commit is contained in:
parent
58085e4eff
commit
d5cd74a401
3 changed files with 11 additions and 1 deletions
|
|
@ -188,6 +188,13 @@ void LocalOverlayStore::deleteGCPath(const Path & path, uint64_t & bytesFreed)
|
|||
}
|
||||
}
|
||||
|
||||
bool LocalOverlayStore::verifyStore(bool checkContents, RepairFlag repair)
|
||||
{
|
||||
if (repair)
|
||||
warn("local-overlay: store does not support --verify --repair");
|
||||
return LocalStore::verifyStore(checkContents, NoRepair);
|
||||
}
|
||||
|
||||
static RegisterStoreImplementation<LocalOverlayStore, LocalOverlayStoreConfig> regLocalOverlayStore;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue