Fix remote building on Nix 1.10

[?]
Jul 31, 2015, 1:41 AM
AUMIJSEOUDEGOCN3YSBD7KXOWE2CD2HN2VHS54FWUBMGRUBJHDXQC

Dependencies

  • [2] NAYQT2GT hydra-queue-runner: Use cmdBuildDerivation
  • [3] 5AIYUMTB Basic remote building
  • [4] 5LBMP7GA Fix remote building
  • [5] N4IROACV Move buildRemote() into State
  • [6] YR2IM6Y5 Temporarily disable machines after a connection failure

Change contents

  • replacement in src/hydra-queue-runner/build-remote.cc at line 192
    [2.376][2.376:446]()
    copy the entire closure of ‘drvPath’, as well the required
    [2.376]
    [2.446]
    copy the entire closure of ‘drvPath’, as well as the required
  • edit in src/hydra-queue-runner/build-remote.cc at line 197
    [2.650]
    [2.650]
    BasicDerivation basicDrv(step->drv);
  • edit in src/hydra-queue-runner/build-remote.cc at line 211
    [2.893]
    [3.324]
    basicDrv.inputSrcs.insert(i->second.path);
  • replacement in src/hydra-queue-runner/build-remote.cc at line 233
    [2.1018][2.1018:1115]()
    to << cmdBuildDerivation << step->drvPath << step->drv << maxSilentTime << buildTimeout;
    [2.1018]
    [2.1115]
    to << cmdBuildDerivation << step->drvPath << basicDrv << maxSilentTime << buildTimeout;