mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Add an activity for copying sources to the store
Fixes #1184 since it's now visible in the progress bar which path is taking a long time to copy.
This commit is contained in:
parent
bb962381e9
commit
f8bf44bf76
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@ StorePath InputAccessor::fetchToStore(
|
|||
} else
|
||||
debug("source path '%s' is uncacheable", showPath(path));
|
||||
|
||||
Activity act(*logger, lvlChatty, actUnknown, fmt("copying '%s' to the store", showPath(path)));
|
||||
|
||||
auto source = sinkToSource([&](Sink & sink) {
|
||||
dumpPath(path, sink, filter ? *filter : defaultPathFilter);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue