hydra-eval-{jobs,jobset}: Pass file name as <...>

[?]
Nov 28, 2017, 3:51 PM
HP5WJLQUNP7PXGVBYOMWRCZ4QKDECULS2EAFX2FPHRUXV2CMMYCAC

Dependencies

  • [2] VU2OLHD2 Move most of AddBuilds to hydra-eval-jobset
  • [3] 52JSLNC6 * Build fix.
  • [4] 7GKAIP3V Fix build and handling of string inputs starting with a dash
  • [5] JQQYF4S3 Fix build-queued plugin hook
  • [6] 4LWGZL33
  • [7] PXTSKX4G Add buildQueued plugin hook
  • [8] 4N5APGRG * Start of a helper tool to evaluate job expressions efficiently.
  • [9] WMWBCZPR
  • [10] AEFNBIIW * Merge the GC branch.
  • [11] AEKIREIH * Updated hydra_eval_jobs for the new evaluator.
  • [12] N22GPKYT * Put info about logs / build products in the DB.
  • [13] FUB37KFU Use Nix's restricted evaluation mode
  • [14] LAJHRL6O Fix tests
  • [15] STZE4KKR Fix build against Nix master

Change contents

  • replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 178
    [3.2648][3.1113:1158]()
    releaseExpr = absPath(*arg);
    [3.2648]
    [3.1158]
    releaseExpr = *arg;
  • replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 200
    [3.1944][3.1944:1984]()
    state.evalFile(releaseExpr, v);
    [3.1944]
    [3.1021]
    state.evalFile(lookupFileArg(state, releaseExpr), v);
  • edit in src/script/hydra-eval-jobset at line 361
    [2.11433][2.11433:11508]()
    my $nixExprFullPath = $nixExprInput->{storePath} . "/" . $nixExprPath;
  • replacement in src/script/hydra-eval-jobset at line 364
    [2.11600][2.11600:11725]()
    my @cmd = ($evaluator, $nixExprFullPath, "--gc-roots-dir", getGCRootsDir, "-j", 1, inputsToArgs($inputInfo, $exprType));
    [2.11600]
    [2.11725]
    my @cmd = ($evaluator,
    "<" . $nixExprInputName . "/" . $nixExprPath . ">",
    "--gc-roots-dir", getGCRootsDir,
    "-j", 1,
    inputsToArgs($inputInfo, $exprType));