mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Allow activities to be nested
In particular, this allows more relevant activities ("substituting X") to supersede inferior ones ("downloading X").
This commit is contained in:
parent
f194629f96
commit
c137c0a5eb
7 changed files with 55 additions and 12 deletions
|
@ -565,7 +565,9 @@ void Store::buildPaths(const PathSet & paths, BuildMode buildMode)
|
|||
void copyStorePath(ref<Store> srcStore, ref<Store> dstStore,
|
||||
const Path & storePath, RepairFlag repair, CheckSigsFlag checkSigs)
|
||||
{
|
||||
Activity act(*logger, actCopyPath, fmt("copying path '%s'", storePath));
|
||||
Activity act(*logger, actCopyPath, fmt("copying path '%s'", storePath),
|
||||
{storePath, srcStore->getUri(), dstStore->getUri()});
|
||||
PushActivity pact(act.id);
|
||||
|
||||
auto info = srcStore->queryPathInfo(storePath);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue