nix-copy-closure: Add -v flag
And make exportPath() less spammy by default.
This commit is contained in:
@@ -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<PathSet>(hashAndReadSource);
|
||||
|
||||
Path deriver = readString(hashAndReadSource);
|
||||
|
||||
Reference in New Issue
Block a user