diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-02-12T21·48+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-02-12T21·48+0100 |
commit | 9bcb4d2dd99ba7509c27479eecf1e7ac88244fa8 (patch) | |
tree | 3d1e059d675b689271806086fee86501f9872d0b /src/libstore/local-store.cc | |
parent | 4f09ce7940689887a18d4aa44367d2e6abeaa3cf (diff) |
Fix hang in build-remote
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 8a79fc7235fa..4afe51ea91ec 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -992,7 +992,6 @@ void LocalStore::addToStore(const ValidPathInfo & info, const ref<std::string> & /* Lock the output path. But don't lock if we're being called from a build hook (whose parent process already acquired a lock on this path). */ - static auto locksHeld = tokenizeString<PathSet>(getEnv("NIX_HELD_LOCKS")); if (!locksHeld.count(info.path)) outputLock.lockPaths({realPath}); |