Sync with latest Nix

[?]
Jul 17, 2017, 9:38 AM
PW4TLMWSMKGTN4UKRNQD3H2PWLTXOPSXDZXUVVFQSQS6AFBQLDDAC

Dependencies

  • [2] WDGARQ76 Reuse build products / metrics stored in the database
  • [3] 5CNQUQ77 Bump Nix
  • [4] ACBS7C6Q hydra-queue-runner: Detect changes to the scheduling shares
  • [5] 5AIYUMTB Basic remote building
  • [6] BUEWVH2M Remove signing parameter (nix#f435f82)
  • [7] IKJBYIGY Update to reflect BinaryCacheStore changes
  • [8] PLA4FYMZ Fix regression caused by ee2e9f53
  • [9] 24BMQDZA Start of single-process hydra-queue-runner
  • [10] FITVNQ2S Keep track of the time we spend copying to/from build machines
  • [11] L2IBPED2 Typo
  • [12] BYVRA54Q Temporarily disable machines on any exception, not just connection failures
  • [13] UVNTWTWG Prevent download of NARs we just uploaded
  • [14] 73YR46NJ hydra-queue-runner: Write directly to a binary cache
  • [15] 62MQPRXC Pass null values to libpqxx properly
  • [*] MHVIT4JY Split hydra-queue-runner.cc more

Change contents

  • replacement in src/hydra-queue-runner/build-remote.cc at line 227
    [4.2491][3.136:226]()
    copyClosure(ref<Store>(localStore), destStore, step->drv.inputSrcs, false, true);
    [4.2491]
    [4.3876]
    copyClosure(ref<Store>(localStore), destStore, step->drv.inputSrcs, NoRepair, NoCheckSigs);
  • replacement in src/hydra-queue-runner/build-remote.cc at line 419
    [4.8870][3.227:292]()
    destStore->importPaths(from, result.accessor, true);
    [4.8870]
    [4.231]
    destStore->importPaths(from, result.accessor, NoCheckSigs);
  • replacement in src/hydra-queue-runner/hydra-queue-runner.cc at line 438
    [4.824][4.824:948]()
    (printHash(product.sha1hash), product.isRegular)
    (printHash(product.sha256hash), product.isRegular)
    [4.824]
    [4.18912]
    (product.sha1hash.to_string(Base16, false), product.isRegular)
    (product.sha256hash.to_string(Base16, false), product.isRegular)
  • replacement in src/hydra-queue-runner/queue-monitor.cc at line 632
    [2.1702][2.1702:1782]()
    product.sha1hash = parseHash(htSHA1, row[3].as<std::string>());
    [2.1702]
    [2.1782]
    product.sha1hash = Hash(row[3].as<std::string>(), htSHA1);
  • replacement in src/hydra-queue-runner/queue-monitor.cc at line 634
    [2.1817][2.1817:1901]()
    product.sha256hash = parseHash(htSHA256, row[4].as<std::string>());
    [2.1817]
    [2.1901]
    product.sha256hash = Hash(row[4].as<std::string>(), htSHA256);