1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 23:03:53 -04:00

respect SIGINT in nix copy during the paths queries #1629

This commit is contained in:
AmineChikhaoui 2017-10-25 16:51:45 +01:00
parent 54a2cd9ce4
commit 0f9a7225ab

View file

@ -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());