diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-01-03 08:30:49 -0800 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-01-03 08:30:49 -0800 |
commit | d4d1ca8b1160c8ee045fefafa7ccb00a1a5eeb0b (patch) | |
tree | 6c13d5eace4624a59b2021a4ac841df46ecb3ce6 /src/libmain | |
parent | 15341334b50b2b432830a8e78abc331d0a47de13 (diff) |
nix --version: Print the data directory
Diffstat (limited to 'src/libmain')
-rw-r--r-- | src/libmain/shared.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 648e21a25..d4871a8e2 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -363,6 +363,7 @@ void printVersion(const std::string & programName) << "\n"; std::cout << "Store directory: " << settings.nixStore << "\n"; std::cout << "State directory: " << settings.nixStateDir << "\n"; + std::cout << "Data directory: " << settings.nixDataDir << "\n"; } throw Exit(); } |