Fix build

[?]
Aug 7, 2020, 7:42 PM
WEFXD6SWJK6INFTAOB6X364S4D3YCOSH6YKYINY3IEDZQSKBRAOAC

Dependencies

  • [2] VUYJ47EV hydra-eval-jobs: Parallelize
  • [3] 5JMO43B4 buildRemote(): Copy paths to the destination store in O(1) memory
  • [4] HPXFXHFS Remove SHA-1 hash from BuildProducts
  • [5] WDGARQ76 Reuse build products / metrics stored in the database
  • [6] DKR2GXSA Update libpqxx usage to move away from deprecated API interactions.
  • [7] QHO6IDC7 Fix build
  • [8] 6NUK6AZA Fix build
  • [9] PW4TLMWS Sync with latest Nix
  • [10] BYVRA54Q Temporarily disable machines on any exception, not just connection failures
  • [11] YSZQ3ORR Fix build
  • [*] NQPGIRXX Revert "hydra-eval-jobs -> nix eval-hydra-jobs"
  • [*] 5AIYUMTB Basic remote building
  • [*] MHVIT4JY Split hydra-queue-runner.cc more

Change contents

  • replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 472
    [2.14166][2.14166:14232]()
    auto h = hashDerivationModulo(*store, drv, true);
    [2.14166]
    [2.14232]
    auto h = std::get<Hash>(hashDerivationModulo(*store, drv, true));
  • replacement in src/hydra-queue-runner/build-remote.cc at line 455
    [3.1460][3.1460:1525]()
    info.narHash = Hash(readString(from), htSHA256);
    [3.1460]
    [3.1525]
    info.narHash = Hash::parseAny(readString(from), htSHA256);
  • replacement in src/hydra-queue-runner/queue-monitor.cc at line 652
    [5.1702][4.335:414]()
    product.sha256hash = Hash(row[3].as<std::string>(), htSHA256);
    [5.1702]
    [5.1782]
    product.sha256hash = Hash::parseAny(row[3].as<std::string>(), htSHA256);