printVersion(): Show system types

This commit is contained in:
Eelco Dolstra 2020-07-24 11:34:01 +02:00
parent 5e3ad1dde0
commit a71d1cedff
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -277,6 +277,8 @@ void printVersion(const string & programName)
#if HAVE_SODIUM
cfg.push_back("signed-caches");
#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 << "System configuration file: " << settings.nixConfDir + "/nix.conf" << "\n";
std::cout << "User configuration files: " <<