1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-15 05:21:03 +01:00

Merge pull request #14445 from CyberShadow/nix-flake-check-log-success

nix flake check: log success in verbose mode
This commit is contained in:
Jörg Thalheim 2025-11-06 09:30:55 +00:00 committed by GitHub
commit 41b62aa979
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -809,6 +809,8 @@ struct CmdFlakeCheck : FlakeCommand
if (hasErrors)
throw Error("some errors were encountered during the evaluation");
logger->log(lvlInfo, ANSI_GREEN "all checks passed!" ANSI_NORMAL);
if (!omittedSystems.empty()) {
// TODO: empty system is not visible; render all as nix strings?
warn(