diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 5b62d79ee..31a6cc46f 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -1038,7 +1038,7 @@ void LocalStore::addToStore(const ValidPathInfo & info, Source & source, auto actualFoHash = hashCAPath( recursive, expectedHash.type, - info.path + realPath ); if (ca != actualFoHash) { throw Error("ca hash mismatch importing path '%s';\n specified: %s\n got: %s",