1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 09:49:36 +01:00

Add activity for evaluation

This commit is contained in:
Eelco Dolstra 2020-11-11 15:19:57 +01:00
parent 8f92b7f0a1
commit dc0bac99dd
2 changed files with 3 additions and 0 deletions

View file

@ -20,6 +20,7 @@ typedef enum {
actQueryPathInfo = 109, actQueryPathInfo = 109,
actPostBuildHook = 110, actPostBuildHook = 110,
actBuildWaiting = 111, actBuildWaiting = 111,
actEvaluate = 112,
} ActivityType; } ActivityType;
typedef enum { typedef enum {

View file

@ -356,6 +356,8 @@ struct InstallableStorePath : Installable
Buildables InstallableValue::toBuildables() Buildables InstallableValue::toBuildables()
{ {
Activity act(*logger, lvlInfo, actEvaluate);
Buildables res; Buildables res;
std::map<StorePath, std::map<std::string, std::optional<StorePath>>> drvsToOutputs; std::map<StorePath, std::map<std::string, std::optional<StorePath>>> drvsToOutputs;