aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-07 03:21:23 +0100
committereldritch horrors <pennae@lix.systems>2024-03-07 01:22:25 -0700
commit689a5f22f170c64e1fa1a2e2e999ec6ba64e976c (patch)
tree251e0ecb1529a20df754347f4966f864444ef4ca /src/nix
parentf2c32738ad0862bc6b1cf8d87fa7855ccf763ced (diff)
Print how many checks are run
(cherry picked from commit d75a5f427a385e56c821fdf49a70a150fe7fe6fd) Change-Id: I778edad1928adf90a69d0bbe8dd36623181b20d4
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/flake.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index 69e531681..0da9b1ce9 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -742,7 +742,8 @@ struct CmdFlakeCheck : FlakeCommand
}
if (build && !drvPaths.empty()) {
- Activity act(*logger, lvlInfo, actUnknown, "running flake checks");
+ Activity act(*logger, lvlInfo, actUnknown,
+ fmt("running %d flake checks", drvPaths.size()));
store->buildPaths(drvPaths);
}
if (hasErrors)