From dc0bac99dd70dfe4e36f300da7bbdcba1ba812c6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 11 Nov 2020 15:19:57 +0100 Subject: [PATCH] Add activity for evaluation --- src/libutil/logging.hh | 1 + src/nix/installables.cc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh index 96ad69790..35f1facc5 100644 --- a/src/libutil/logging.hh +++ b/src/libutil/logging.hh @@ -20,6 +20,7 @@ typedef enum { actQueryPathInfo = 109, actPostBuildHook = 110, actBuildWaiting = 111, + actEvaluate = 112, } ActivityType; typedef enum { diff --git a/src/nix/installables.cc b/src/nix/installables.cc index 3506c3fcc..202b08c80 100644 --- a/src/nix/installables.cc +++ b/src/nix/installables.cc @@ -356,6 +356,8 @@ struct InstallableStorePath : Installable Buildables InstallableValue::toBuildables() { + Activity act(*logger, lvlInfo, actEvaluate); + Buildables res; std::map>> drvsToOutputs;