aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-02-17 14:33:10 +0100
committerEelco Dolstra <edolstra@gmail.com>2020-02-17 14:33:10 +0100
commitb0336e7cf77f9e170c74a730bc45453393ba0db2 (patch)
treebfbc989772e3edbb044c9fb52e8777a1b032763a /src/nix
parentc6e63065f3c39044c148e39838a44cb6d1922809 (diff)
nix eval-hydra-job: Progress indicator
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/eval-hydra-jobs.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/eval-hydra-jobs.cc b/src/nix/eval-hydra-jobs.cc
index 579ab9cf7..180c401b2 100644
--- a/src/nix/eval-hydra-jobs.cc
+++ b/src/nix/eval-hydra-jobs.cc
@@ -281,6 +281,8 @@ struct CmdEvalHydraJobs : MixJSON, MixDryRun, InstallableCommand
state.wait(wakeup);
}
+ Activity act(*logger, lvlInfo, actUnknown, fmt("evaluating '%s'", attrPath));
+
/* Tell the worker to evaluate it. */
writeLine(to.get(), "do " + attrPath);