Fix build

[?]
Oct 18, 2020, 7:01 PM
YVFKZFAP7JQWQ5ROYNEDXTLGWNZ2ZJ6I5OAYLWBMQBWOQE5XQAVQC

Dependencies

  • [2] 4DHGJ2FL Fix build
  • [3] NAYQT2GT hydra-queue-runner: Use cmdBuildDerivation
  • [4] BYVRA54Q Temporarily disable machines on any exception, not just connection failures
  • [5] 5AIYUMTB Basic remote building
  • [6] G7KWXSFM Distinguish build step states
  • [7] EBJP3MNA Build against nix-master
  • [8] XCDTFZUY hydra-queue-runner: Fix build
  • [9] WV4SSAIY Build against nix-master
  • [10] 6TY4LNHH Finish copyClosure
  • [11] H46LUUZY hydra-queue-runner: don't try to distribute builds on localhost
  • [12] YSZQ3ORR Fix build
  • [13] OJFOBJKF Add FIXME
  • [14] 5JMO43B4 buildRemote(): Copy paths to the destination store in O(1) memory
  • [*] NQPGIRXX Revert "hydra-eval-jobs -> nix eval-hydra-jobs"
  • [*] VUYJ47EV hydra-eval-jobs: Parallelize

Change contents

  • edit in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 17
    [17.50]
    [16.883]
    #include "local-fs-store.hh"
  • replacement in src/hydra-queue-runner/build-remote.cc at line 98
    [3.463][3.463:509]()
    writeStorePaths(*destStore, to, closure);
    [3.463]
    [3.1984]
    worker_proto::write(*destStore, to, closure);
  • replacement in src/hydra-queue-runner/build-remote.cc at line 103
    [3.2087][3.1017:1084]()
    auto present = readStorePaths<StorePathSet>(*destStore, from);
    [3.2087]
    [3.2137]
    auto present = worker_proto::read(*destStore, from, Phantom<StorePathSet> {});
  • replacement in src/hydra-queue-runner/build-remote.cc at line 318
    [3.2237][3.1045:1108]()
    writeStorePaths(*localStore, to, {step->drvPath});
    [3.2237]
    [3.2309]
    worker_proto::write(*localStore, to, {step->drvPath});
  • replacement in src/hydra-queue-runner/build-remote.cc at line 447
    [3.2233][3.2233:2288]()
    writeStorePaths(*localStore, to, outputs);
    [3.2233]
    [3.7441]
    worker_proto::write(*localStore, to, outputs);
  • replacement in src/hydra-queue-runner/build-remote.cc at line 453
    [3.7588][2.88:171]()
    auto references = readStorePaths<StorePathSet>(*localStore, from);
    [3.7588]
    [3.7646]
    auto references = worker_proto::read(*localStore, from, Phantom<StorePathSet> {});