blob: fb4fc2a6e7e2b4e080841fbda9c864b27e68b868 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "command.hh"
#include "shared.hh"
#include "store-api.hh"
using namespace nix;
struct CmdDoctor : StoreCommand
{
std::string name() override
{
return "doctor";
}
std::string description() override
{
return "check your system for potential problems";
}
void run(ref<Store> store) override
{
std::cout << "Store uri: " << store->getUri() << std::endl;
}
};
static RegisterCommand r1(make_ref<CmdDoctor>());
|