mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 11:36:03 +01:00
nix flake check: log success in verbose mode
The rule of silence can be a little surprising. As a compromise to changing the default behavior, this adds printing a success message in verbose mode, where we don't really have a reason to be silent about our success.
This commit is contained in:
parent
0ba1aa34dc
commit
d8cec03fce
1 changed files with 2 additions and 0 deletions
|
|
@ -811,6 +811,8 @@ struct CmdFlakeCheck : FlakeCommand
|
||||||
if (hasErrors)
|
if (hasErrors)
|
||||||
throw Error("some errors were encountered during the evaluation");
|
throw Error("some errors were encountered during the evaluation");
|
||||||
|
|
||||||
|
logger->log(lvlInfo, ANSI_GREEN "all checks passed!" ANSI_NORMAL);
|
||||||
|
|
||||||
if (!omittedSystems.empty()) {
|
if (!omittedSystems.empty()) {
|
||||||
// TODO: empty system is not visible; render all as nix strings?
|
// TODO: empty system is not visible; render all as nix strings?
|
||||||
warn(
|
warn(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue