Replace message "importing path <...>" with "exporting path <...>"
This causes nix-copy-closure to show what it's doing before rather than after.
This commit is contained in:
parent
42d91b079c
commit
edbfe2232e
1 changed files with 2 additions and 2 deletions
|
@ -1486,6 +1486,8 @@ void LocalStore::exportPath(const Path & path, bool sign,
|
||||||
{
|
{
|
||||||
assertStorePath(path);
|
assertStorePath(path);
|
||||||
|
|
||||||
|
printMsg(lvlInfo, format("exporting path `%1%'") % path);
|
||||||
|
|
||||||
addTempRoot(path);
|
addTempRoot(path);
|
||||||
if (!isValidPath(path))
|
if (!isValidPath(path))
|
||||||
throw Error(format("path `%1%' is not valid") % path);
|
throw Error(format("path `%1%' is not valid") % path);
|
||||||
|
@ -1596,8 +1598,6 @@ Path LocalStore::importPath(bool requireSignature, Source & source)
|
||||||
|
|
||||||
Path dstPath = readStorePath(hashAndReadSource);
|
Path dstPath = readStorePath(hashAndReadSource);
|
||||||
|
|
||||||
printMsg(lvlInfo, format("importing path `%1%'") % dstPath);
|
|
||||||
|
|
||||||
PathSet references = readStorePaths<PathSet>(hashAndReadSource);
|
PathSet references = readStorePaths<PathSet>(hashAndReadSource);
|
||||||
|
|
||||||
Path deriver = readString(hashAndReadSource);
|
Path deriver = readString(hashAndReadSource);
|
||||||
|
|
Loading…
Reference in a new issue