about summary refs log tree commit diff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-02-12T21·48+0100
committerEelco Dolstra <edolstra@gmail.com>2018-02-12T21·48+0100
commit9bcb4d2dd99ba7509c27479eecf1e7ac88244fa8 (patch)
tree3d1e059d675b689271806086fee86501f9872d0b /src/libstore/local-store.hh
parent4f09ce7940689887a18d4aa44367d2e6abeaa3cf (diff)
Fix hang in build-remote
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 30bef3a799d4..bbd50e1c1451 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -104,6 +104,9 @@ private:
 
 public:
 
+    // Hack for build-remote.cc.
+    PathSet locksHeld = tokenizeString<PathSet>(getEnv("NIX_HELD_LOCKS"));
+
     /* Initialise the local store, upgrading the schema if
        necessary. */
     LocalStore(const Params & params);