about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/sqlite.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/sqlite.cc b/src/libstore/sqlite.cc
index 0f1bb4947d34..77fbedd119c7 100644
--- a/src/libstore/sqlite.cc
+++ b/src/libstore/sqlite.cc
@@ -20,6 +20,7 @@ namespace nix {
         }
         /* Sleep for a while since retrying the transaction right away
            is likely to fail again. */
+        checkInterrupt();
 #if HAVE_NANOSLEEP
         struct timespec t;
         t.tv_sec = 0;