libmain: show presence of NixOS commands in features

This commit is contained in:
Max Headroom 2023-01-07 17:12:30 +01:00
parent 174f9921e8
commit 1d88c38bd1

View file

@ -354,6 +354,7 @@ void printVersion(const std::string & programName)
cfg.push_back("gc");
#endif
cfg.push_back("signed-caches");
cfg.push_back("nixos");
std::cout << "System type: " << settings.thisSystem << "\n";
std::cout << "Additional system types: " << concatStringsSep(", ", settings.extraPlatforms.get()) << "\n";
std::cout << "Features: " << concatStringsSep(", ", cfg) << "\n";