diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-03-07T10·38+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-03-07T10·40+0100 |
commit | 16551f54c94f2b551ebaf00a7bd0245dc3b0b9e4 (patch) | |
tree | afa7137bce2976bba6529b4e3417e4e822779e1d /src | |
parent | 4452f6e855c3f81b93003f47ebb5d372a7609894 (diff) |
Fix #1957
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/local-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 4afe51ea91ec..3441b2472fcf 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -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! " |