Fix build

[?]
Feb 15, 2020, 1:54 PM
FJEK6FVUA2QLNIIOH542TLP3PGAOH6K3C5MEFGCMF6H7WB2HJIPAC

Dependencies

  • [2] EBJP3MNA Build against nix-master
  • [3] MHVIT4JY Split hydra-queue-runner.cc more
  • [4] T5BIOVJE Add support for tracking custom metrics
  • [5] 7CCLJLW7 Remove superfluous "has" function
  • [*] HJOEIMLR Refactor

Change contents

  • replacement in src/hydra-queue-runner/queue-monitor.cc at line 105
    [3.22391][3.22391:22443]()
    auto build = std::make_shared<Build>();
    [3.22391]
    [3.22443]
    auto build = std::make_shared<Build>(
    localStore->parseStorePath(row["drvPath"].as<string>()));
  • edit in src/hydra-queue-runner/queue-monitor.cc at line 108
    [3.22471][2.7198:7284]()
    build->drvPath = localStore->parseStorePath(row["drvPath"].as<string>());
  • replacement in src/hydra-queue-runner/queue-monitor.cc at line 405
    [3.30643][3.30643:30688](),[3.30688][2.8641:8686]()
    step = std::make_shared<Step>();
    step->drvPath = drvPath.clone();
    [3.30643]
    [3.30725]
    step = std::make_shared<Step>(drvPath.clone());
  • edit in src/hydra-queue-runner/state.hh at line 138
    [7.2276]
    [3.2462]
    Build(nix::StorePath && drvPath) : drvPath(std::move(drvPath))
    { }
  • edit in src/hydra-queue-runner/state.hh at line 207
    [7.3166]
    [7.3166]
    Step(nix::StorePath && drvPath) : drvPath(std::move(drvPath))
    { }