diff options
author | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2017-10-25T15·51+0100 |
---|---|---|
committer | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2017-10-25T15·51+0100 |
commit | 0f9a7225ab47fe313db41f4019177be8fb84a1dd (patch) | |
tree | 1943e9073262941fd9c6b7927cd7ee6172eb3d92 | |
parent | 54a2cd9ce43b29382a5799635ea9aa28c245d3a4 (diff) |
respect SIGINT in nix copy during the paths queries #1629
-rw-r--r-- | src/libstore/store-api.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 82e0bda5468c..3631e1b3003b 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -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()); |