From ccf31dbc25b8fe1ac0fba33c7205ba75d4f0adfe Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 20 Jul 2015 01:52:07 +0200 Subject: nix-copy-closure: Add -v flag And make exportPath() less spammy by default. --- src/libstore/local-store.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libstore') diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index c76fde1d0163..978bca28d7fa 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -1510,7 +1510,7 @@ void LocalStore::exportPath(const Path & path, bool sign, { assertStorePath(path); - printMsg(lvlInfo, format("exporting path ‘%1%’") % path); + printMsg(lvlTalkative, format("exporting path ‘%1%’") % path); if (!isValidPath(path)) throw Error(format("path ‘%1%’ is not valid") % path); @@ -1613,6 +1613,8 @@ Path LocalStore::importPath(bool requireSignature, Source & source) Path dstPath = readStorePath(hashAndReadSource); + printMsg(lvlTalkative, format("importing path ‘%1%’") % dstPath); + PathSet references = readStorePaths(hashAndReadSource); Path deriver = readString(hashAndReadSource); -- cgit 1.4.1