From 6075ac6feda9993db71697e33b9ae47edff764a8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 9 Sep 2015 16:50:59 +0200 Subject: [PATCH] Remove localhost hack --- src/hydra-queue-runner/build-remote.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-queue-runner/build-remote.cc b/src/hydra-queue-runner/build-remote.cc index 1f3ccd5f..2cdd0898 100644 --- a/src/hydra-queue-runner/build-remote.cc +++ b/src/hydra-queue-runner/build-remote.cc @@ -165,7 +165,7 @@ void State::buildRemote(std::shared_ptr store, unsigned int version = readInt(from); if (GET_PROTOCOL_MAJOR(version) != 0x200) 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; } catch (EndOfFile & e) {