forked from lix-project/hydra
Remove localhost hack
This commit is contained in:
parent
ee9bf7ace7
commit
6075ac6fed
|
@ -165,7 +165,7 @@ void State::buildRemote(std::shared_ptr<StoreAPI> store,
|
||||||
unsigned int version = readInt(from);
|
unsigned int version = readInt(from);
|
||||||
if (GET_PROTOCOL_MAJOR(version) != 0x200)
|
if (GET_PROTOCOL_MAJOR(version) != 0x200)
|
||||||
throw Error(format("unsupported ‘nix-store --serve’ protocol version on ‘%1%’") % machine->sshName);
|
throw Error(format("unsupported ‘nix-store --serve’ protocol version on ‘%1%’") % machine->sshName);
|
||||||
if (GET_PROTOCOL_MINOR(version) >= 1 && machine->sshName != "localhost") // FIXME
|
if (GET_PROTOCOL_MINOR(version) >= 1)
|
||||||
sendDerivation = false;
|
sendDerivation = false;
|
||||||
|
|
||||||
} catch (EndOfFile & e) {
|
} catch (EndOfFile & e) {
|
||||||
|
|
Loading…
Reference in a new issue