diff --git a/src/nix/doctor.cc b/src/nix/doctor.cc
index f2cf047581d1c0a8a274eaba6a122325cca0a696..98260127b86e8cdbf6e87dd2d234e4aae766a7a5 100644
--- a/src/nix/doctor.cc
+++ b/src/nix/doctor.cc
@@ -116,4 +116,4 @@ struct CmdDoctor : StoreCommand
     }
 };
 
-static auto r1 = registerCommand<CmdDoctor>("doctore");
+static auto r1 = registerCommand<CmdDoctor>("doctor");