Skip to content

Commit

Permalink
Merge pull request #9600 from SharzyL/fix_nix_copy
Browse files Browse the repository at this point in the history
fix: nix copy ssh-ng:// not respecting --substitute-on-destination
  • Loading branch information
thufschmitt authored Dec 13, 2023
2 parents 9dbfd18 + 04f454f commit b1c633c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstore/remote-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ StorePathSet RemoteStore::queryValidPaths(const StorePathSet & paths, Substitute
conn->to << WorkerProto::Op::QueryValidPaths;
WorkerProto::write(*this, *conn, paths);
if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 27) {
conn->to << (settings.buildersUseSubstitutes ? 1 : 0);
conn->to << maybeSubstitute;
}
conn.processStderr();
return WorkerProto::Serialise<StorePathSet>::read(*this, *conn);
Expand Down

0 comments on commit b1c633c

Please sign in to comment.