forked from lix-project/hydra
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:
parent
b16470c544
commit
44e1efff7f
|
@ -234,7 +234,7 @@ void State::buildRemote(ref<Store> destStore,
|
||||||
unsigned int remoteVersion;
|
unsigned int remoteVersion;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
to << SERVE_MAGIC_1 << 0x204;
|
to << SERVE_MAGIC_1 << 0x206;
|
||||||
to.flush();
|
to.flush();
|
||||||
|
|
||||||
unsigned int magic = readInt(from);
|
unsigned int magic = readInt(from);
|
||||||
|
|
Loading…
Reference in a new issue