nix --version: Print the data directory

This commit is contained in:
Eelco Dolstra 2023-01-03 08:30:49 -08:00
parent 15341334b5
commit d4d1ca8b11

View file

@ -363,6 +363,7 @@ void printVersion(const std::string & programName)
<< "\n";
std::cout << "Store directory: " << settings.nixStore << "\n";
std::cout << "State directory: " << settings.nixStateDir << "\n";
std::cout << "Data directory: " << settings.nixDataDir << "\n";
}
throw Exit();
}