mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
respect SIGINT in nix copy during the paths queries #1629
This commit is contained in:
parent
54a2cd9ce4
commit
0f9a7225ab
1 changed files with 1 additions and 0 deletions
|
@ -392,6 +392,7 @@ PathSet Store::queryValidPaths(const PathSet & paths, SubstituteFlag maybeSubsti
|
|||
ThreadPool pool;
|
||||
|
||||
auto doQuery = [&](const Path & path ) {
|
||||
checkInterrupt();
|
||||
queryPathInfo(path,
|
||||
[path, &state_, &wakeup](ref<ValidPathInfo> info) {
|
||||
auto state(state_.lock());
|
||||
|
|
Loading…
Reference in a new issue