1
1
Fork 0
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:
Ben Radford 2023-07-25 13:30:21 +01:00
parent ae0eb7424f
commit 497464f494
No known key found for this signature in database
GPG key ID: 9DF5D4640AB888D5
4 changed files with 37 additions and 16 deletions

View file

@ -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;
}