aboutsummaryrefslogtreecommitdiff
path: root/src/nix/doctor.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-05 15:18:23 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-05 15:18:23 +0200
commitf132d82a796c91fcb741c127f37c963622b4cae4 (patch)
tree152a835a1810681ef7611a2767dfe2bdc7f2a4db /src/nix/doctor.cc
parenta721a0b1140bf489d645f5d85737acafc1c57c65 (diff)
nix --help: Group commands
Diffstat (limited to 'src/nix/doctor.cc')
-rw-r--r--src/nix/doctor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/doctor.cc b/src/nix/doctor.cc
index 0aa634d6e..cc36354f1 100644
--- a/src/nix/doctor.cc
+++ b/src/nix/doctor.cc
@@ -43,6 +43,8 @@ struct CmdDoctor : StoreCommand
return "check your system for potential problems and print a PASS or FAIL for each check.";
}
+ Category category() override { return catNixInstallation; }
+
void run(ref<Store> store) override
{
logger->log("Running checks against store uri: " + store->getUri());