aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorThéophane Hufschmitt <theophane@hufschmitt.net>2022-04-05 11:33:46 +0200
committerThéophane Hufschmitt <theophane@hufschmitt.net>2022-04-05 14:04:01 +0200
commit9a640afc1e63bed28926cb44fe85137fb7d2d2d1 (patch)
tree77415b549664e61fc3b6ffe30ba2da1a560a8bed /src/nix
parenta4a1de69dcc3c6e0c40a093d67b5f20568a5f31e (diff)
doctor: Always show the output
Fix https://github.com/NixOS/nix/issues/6342
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/doctor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/doctor.cc b/src/nix/doctor.cc
index 4f3003448..ea87e3d87 100644
--- a/src/nix/doctor.cc
+++ b/src/nix/doctor.cc
@@ -24,12 +24,12 @@ std::string formatProtocol(unsigned int proto)
}
bool checkPass(const std::string & msg) {
- logger->log(ANSI_GREEN "[PASS] " ANSI_NORMAL + msg);
+ notice(ANSI_GREEN "[PASS] " ANSI_NORMAL + msg);
return true;
}
bool checkFail(const std::string & msg) {
- logger->log(ANSI_RED "[FAIL] " ANSI_NORMAL + msg);
+ notice(ANSI_RED "[FAIL] " ANSI_NORMAL + msg);
return false;
}