Fix build

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

Dependencies

  • [2] WV4SSAIY Build against nix-master
  • [3] T5BIOVJE Add support for tracking custom metrics
  • [4] MHVIT4JY Split hydra-queue-runner.cc more
  • [5] 73YR46NJ hydra-queue-runner: Write directly to a binary cache
  • [6] 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.6691:6777]()
    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.8134:8179]()
    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
    [8.2276]
    [3.2462]
    Build(nix::StorePath && drvPath) : drvPath(std::move(drvPath))
    { }
  • edit in src/hydra-queue-runner/state.hh at line 207
    [8.3166]
    [8.3166]
    Step(nix::StorePath && drvPath) : drvPath(std::move(drvPath))
    { }