diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 3631e1b30..8146513a4 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -577,9 +577,9 @@ void copyStorePath(ref srcStore, ref dstStore, auto dstUri = dstStore->getUri(); Activity act(*logger, lvlInfo, actCopyPath, - srcUri == "local" + srcUri == "local" || srcUri == "daemon" ? fmt("copying path '%s' to '%s'", storePath, dstUri) - : dstUri == "local" + : dstUri == "local" || dstUri == "daemon" ? fmt("copying path '%s' from '%s'", storePath, srcUri) : fmt("copying path '%s' from '%s' to '%s'", storePath, srcUri, dstUri), {storePath, srcUri, dstUri});