mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
parent
33bfcbdbdd
commit
d306287abd
1 changed files with 1 additions and 1 deletions
|
|
@ -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! "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue