about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorAmineChikhaoui <amine.chikhaoui91@gmail.com>2017-10-25T15·51+0100
committerAmineChikhaoui <amine.chikhaoui91@gmail.com>2017-10-25T15·51+0100
commit0f9a7225ab47fe313db41f4019177be8fb84a1dd (patch)
tree1943e9073262941fd9c6b7927cd7ee6172eb3d92 /src/libstore
parent54a2cd9ce43b29382a5799635ea9aa28c245d3a4 (diff)
respect SIGINT in nix copy during the paths queries #1629
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/store-api.cc1
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());