forked from lix-project/lix
nix copy: Abbreviate "daemon"
This commit is contained in:
parent
8956ae1987
commit
7474ac871b
|
@ -577,9 +577,9 @@ void copyStorePath(ref<Store> srcStore, ref<Store> dstStore,
|
||||||
auto dstUri = dstStore->getUri();
|
auto dstUri = dstStore->getUri();
|
||||||
|
|
||||||
Activity act(*logger, lvlInfo, actCopyPath,
|
Activity act(*logger, lvlInfo, actCopyPath,
|
||||||
srcUri == "local"
|
srcUri == "local" || srcUri == "daemon"
|
||||||
? fmt("copying path '%s' to '%s'", storePath, dstUri)
|
? 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'", storePath, srcUri)
|
||||||
: fmt("copying path '%s' from '%s' to '%s'", storePath, srcUri, dstUri),
|
: fmt("copying path '%s' from '%s' to '%s'", storePath, srcUri, dstUri),
|
||||||
{storePath, srcUri, dstUri});
|
{storePath, srcUri, dstUri});
|
||||||
|
|
Loading…
Reference in a new issue