aboutsummaryrefslogtreecommitdiff
path: root/src/libmain
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-24 11:34:01 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-24 11:34:01 +0200
commita71d1cedffe17ea4dd6a48c12cf5b9323ca6114c (patch)
tree65ec9edf0b663507499f1646f724f8fca29d2a81 /src/libmain
parent5e3ad1dde0a03b3bd094e1d4ecc0f4fc7abdaa5c (diff)
printVersion(): Show system types
Diffstat (limited to 'src/libmain')
-rw-r--r--src/libmain/shared.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 52718c231..22929cae5 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -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: " <<