mirror of
https://github.com/NixOS/nix.git
synced 2025-12-04 08:00:59 +01:00
Extend verify test to check that repair is supported.
This commit is contained in:
parent
ae0eb7424f
commit
497464f494
4 changed files with 37 additions and 16 deletions
|
|
@ -209,13 +209,6 @@ void LocalOverlayStore::optimiseStore()
|
|||
}
|
||||
}
|
||||
|
||||
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