diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 207e8a40b..3ac23ec26 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -923,7 +923,7 @@ void LocalStore::addToStore(const ValidPathInfo & info, const ref & info.path, info.narHash.to_string(), h.to_string()); if (nar->size() != info.narSize) - throw Error("szie mismatch importing path ā€˜%sā€™; expected %s, got %s", + throw Error("size mismatch importing path ā€˜%sā€™; expected %s, got %s", info.path, info.narSize, nar->size()); if (requireSigs && !dontCheckSigs && !info.checkSignatures(*this, publicKeys))