diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-10T19·30+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-10T19·30+0200 |
commit | edbfe2232e275a9e6c10cd8eb4dc36ca992af084 (patch) | |
tree | 0a511c0c17fe3d927c59ff8f9e27f2aa3574e034 /src/libstore | |
parent | 42d91b079c5d0b468663511e7b2a8e2f4048c475 (diff) |
Replace message "importing path <...>" with "exporting path <...>"
This causes nix-copy-closure to show what it's doing before rather than after.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/local-store.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index e66042c57fde..7d78ab7ecfa0 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -1486,6 +1486,8 @@ void LocalStore::exportPath(const Path & path, bool sign, { assertStorePath(path); + printMsg(lvlInfo, format("exporting path `%1%'") % path); + addTempRoot(path); if (!isValidPath(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); - printMsg(lvlInfo, format("importing path `%1%'") % dstPath); - PathSet references = readStorePaths<PathSet>(hashAndReadSource); Path deriver = readString(hashAndReadSource); |