mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Improve 'coroutine has finished' error message
This commit is contained in:
parent
6317c65937
commit
ebe3d2d370
3 changed files with 16 additions and 7 deletions
|
@ -609,6 +609,8 @@ void copyStorePath(ref<Store> srcStore, ref<Store> dstStore,
|
|||
act.progress(total, info->narSize);
|
||||
});
|
||||
srcStore->narFromPath({storePath}, wrapperSink);
|
||||
}, [&]() {
|
||||
throw EndOfFile("NAR for '%s' fetched from '%s' is incomplete", storePath, srcStore->getUri());
|
||||
});
|
||||
|
||||
dstStore->addToStore(*info, *source, repair, checkSigs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue