forked from lix-project/lix
printVersion(): Show system types
This commit is contained in:
parent
5e3ad1dde0
commit
a71d1cedff
|
@ -277,6 +277,8 @@ void printVersion(const string & programName)
|
||||||
#if HAVE_SODIUM
|
#if HAVE_SODIUM
|
||||||
cfg.push_back("signed-caches");
|
cfg.push_back("signed-caches");
|
||||||
#endif
|
#endif
|
||||||
|
std::cout << "System type: " << settings.thisSystem << "\n";
|
||||||
|
std::cout << "Additional system types: " << concatStringsSep(", ", settings.extraPlatforms.get()) << "\n";
|
||||||
std::cout << "Features: " << concatStringsSep(", ", cfg) << "\n";
|
std::cout << "Features: " << concatStringsSep(", ", cfg) << "\n";
|
||||||
std::cout << "System configuration file: " << settings.nixConfDir + "/nix.conf" << "\n";
|
std::cout << "System configuration file: " << settings.nixConfDir + "/nix.conf" << "\n";
|
||||||
std::cout << "User configuration files: " <<
|
std::cout << "User configuration files: " <<
|
||||||
|
|
Loading…
Reference in a new issue