mirror of
https://github.com/NixOS/nix
synced 2025-07-02 17:41:48 +02:00
Fix hang in build-remote
This commit is contained in:
parent
4f09ce7940
commit
9bcb4d2dd9
3 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue