Send the right nix-serve client version

We were using protocol version 6 but requesting version 4. The only
reason that this worked was because of a broken version check in
'nix-store --serve'. That was fixed in
c2d7456926,
which had the side-effect of breaking hydra-queue-runner.
This commit is contained in:
Eelco Dolstra 2022-09-08 11:51:13 +02:00
parent b16470c544
commit 44e1efff7f

View file

@ -234,7 +234,7 @@ void State::buildRemote(ref<Store> destStore,
unsigned int remoteVersion;
try {
to << SERVE_MAGIC_1 << 0x204;
to << SERVE_MAGIC_1 << 0x206;
to.flush();
unsigned int magic = readInt(from);