Skip to content

Commit 41b62aa

Browse files
authored
Merge pull request #14445 from CyberShadow/nix-flake-check-log-success
nix flake check: log success in verbose mode
2 parents af41ecc + d8cec03 commit 41b62aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nix/flake.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,8 @@ struct CmdFlakeCheck : FlakeCommand
809809
if (hasErrors)
810810
throw Error("some errors were encountered during the evaluation");
811811

812+
logger->log(lvlInfo, ANSI_GREEN "all checks passed!" ANSI_NORMAL);
813+
812814
if (!omittedSystems.empty()) {
813815
// TODO: empty system is not visible; render all as nix strings?
814816
warn(

0 commit comments

Comments
 (0)