libstore/local-store: verifyPath inform about the physical location store

Change-Id: I2e28acbff01d91484a9bf24a8ac8c37c53306af7
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
Raito Bezarius
2025-07-26 20:52:25 +00:00
parent bde5830352
commit 5019eba747
+3 -2
View File
@@ -1599,13 +1599,14 @@ try {
}
auto pathS = printStorePath(path);
auto physicalPathS = toRealPath(pathS);
if (canInvalidate) {
printInfo("path '%s' disappeared, removing from database...", pathS);
printInfo("path '%s' disappeared, removing from database...", physicalPathS);
auto state(co_await _dbState.lock());
TRY_AWAIT(invalidatePath(*state, path));
} else {
printError("path '%s' disappeared, but it still has valid referrers!", pathS);
printError("path '%s' disappeared, but it still has valid referrers!", physicalPathS);
if (repair)
try {
TRY_AWAIT(repairPath(path));