This commit is contained in:
Eelco Dolstra 2018-03-07 11:38:41 +01:00
parent 4452f6e855
commit 16551f54c9
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -1215,7 +1215,7 @@ bool LocalStore::verifyStore(bool checkContents, RepairFlag repair)
/* Check the content hash (optionally - slow). */
printMsg(lvlTalkative, format("checking contents of '%1%'") % i);
HashResult current = hashPath(info->narHash.type, i);
HashResult current = hashPath(info->narHash.type, toRealPath(i));
if (info->narHash != nullHash && info->narHash != current.first) {
printError(format("path '%1%' was modified! "