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/build-remote/build-remote.cc | |
parent | 4f09ce7940689887a18d4aa44367d2e6abeaa3cf (diff) |
Fix hang in build-remote
Diffstat (limited to 'src/build-remote/build-remote.cc')
-rw-r--r-- | src/build-remote/build-remote.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc index df579729af29..c6e75e8cc704 100644 --- a/src/build-remote/build-remote.cc +++ b/src/build-remote/build-remote.cc @@ -241,7 +241,7 @@ connected: if (!missing.empty()) { Activity act(*logger, lvlTalkative, actUnknown, fmt("copying outputs from '%s'", storeUri)); - setenv("NIX_HELD_LOCKS", concatStringsSep(" ", missing).c_str(), 1); /* FIXME: ugly */ + store->locksHeld.insert(missing.begin(), missing.end()); /* FIXME: ugly */ copyPaths(ref<Store>(sshStore), store, missing, NoRepair, NoCheckSigs, substitute); } |