diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index bc63955af..63f069c2f 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -920,7 +920,7 @@ void LocalStore::addToStore(const ValidPathInfo & info, const ref & info.path % info.narHash.to_string() % h.to_string()); if (requireSigs && !dontCheckSigs && !info.checkSignatures(*this, publicKeys)) - throw Error(format("cannot import path ā€˜%sā€™ because it lacks a valid signature") % info.path); + throw Error("cannot add path ā€˜%sā€™ because it lacks a valid signature", info.path); addTempRoot(info.path);