style(tvix): Move a comment to fix a formatting issue
Change-Id: Idd490b978c07d1b1113ee97b5d19719a27436fba Reviewed-on: https://cl.tvl.fyi/c/depot/+/1822 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
bbacf03a3a
commit
375c1c2a4e
1 changed files with 3 additions and 4 deletions
7
third_party/nix/src/libstore/remote-store.cc
vendored
7
third_party/nix/src/libstore/remote-store.cc
vendored
|
@ -469,10 +469,9 @@ absl::Status RemoteStore::buildPaths(std::ostream& /* log_sink */,
|
||||||
conn->to << drvPaths;
|
conn->to << drvPaths;
|
||||||
if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 15) {
|
if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 15) {
|
||||||
conn->to << build_mode;
|
conn->to << build_mode;
|
||||||
} else
|
} else if (build_mode != bmNormal) {
|
||||||
/* Old daemons did not take a 'buildMode' parameter, so we
|
/* Old daemons did not take a 'buildMode' parameter, so we
|
||||||
need to validate it here on the client side. */
|
need to validate it here on the client side. */
|
||||||
if (build_mode != bmNormal) {
|
|
||||||
return absl::Status(
|
return absl::Status(
|
||||||
absl::StatusCode::kInvalidArgument,
|
absl::StatusCode::kInvalidArgument,
|
||||||
"repairing or checking is not supported when building through the "
|
"repairing or checking is not supported when building through the "
|
||||||
|
|
Loading…
Reference in a new issue