mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-02 18:36:15 +02:00
printVersion(): Show system types
This commit is contained in:
parent
5e3ad1dde0
commit
a71d1cedff
1 changed files with 2 additions and 0 deletions
|
@ -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