mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
Merge pull request #9600 from SharzyL/fix_nix_copy
fix: nix copy ssh-ng:// not respecting --substitute-on-destination
This commit is contained in:
commit
b1c633c6bb
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ StorePathSet RemoteStore::queryValidPaths(const StorePathSet & paths, Substitute
|
||||||
conn->to << WorkerProto::Op::QueryValidPaths;
|
conn->to << WorkerProto::Op::QueryValidPaths;
|
||||||
WorkerProto::write(*this, *conn, paths);
|
WorkerProto::write(*this, *conn, paths);
|
||||||
if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 27) {
|
if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 27) {
|
||||||
conn->to << (settings.buildersUseSubstitutes ? 1 : 0);
|
conn->to << maybeSubstitute;
|
||||||
}
|
}
|
||||||
conn.processStderr();
|
conn.processStderr();
|
||||||
return WorkerProto::Serialise<StorePathSet>::read(*this, *conn);
|
return WorkerProto::Serialise<StorePathSet>::read(*this, *conn);
|
||||||
|
|
Loading…
Reference in a new issue