aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-02 12:28:56 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-02 12:28:56 +0100
commit7bcc9f2aaf87a08a7570610f45e99754fd74d3f6 (patch)
treebc6c7346e730783bf1da15d99ce26247cc94668e /src/libstore/local-store.cc
parent958ec5de568904a07ef050418088d882cbf2ea61 (diff)
Add convenience overload for toRealPath()
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index e214f0659..a337ad0cc 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -1263,7 +1263,7 @@ bool LocalStore::verifyStore(bool checkContents, RepairFlag repair)
else
hashSink = std::make_unique<HashModuloSink>(info->narHash.type, storePathToHash(printStorePath(info->path)));
- dumpPath(toRealPath(printStorePath(i)), *hashSink);
+ dumpPath(Store::toRealPath(i), *hashSink);
auto current = hashSink->finish();
if (info->narHash != nullHash && info->narHash != current.first) {