From 7474ac871b73bd4e739a547b4870b33d625d4c70 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 20 Nov 2017 15:17:11 +0100 Subject: [PATCH] nix copy: Abbreviate "daemon" --- src/libstore/store-api.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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});