about summary refs log tree commit diff
path: root/third_party/nix/src/libmain
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-09-01T02·40-0400
committerglittershark <grfn@gws.fyi>2020-09-01T03·30+0000
commitadebfbbf24ff69e6fdfbfe45c174326d26bf57d0 (patch)
tree483c657559da448e5abcf118b20f86f87d10518e /third_party/nix/src/libmain
parent785cb3a75476033ba6eec2fef334d47d8e64388a (diff)
feat(tvix): Print "Tvix" in the version string r/1757
Rather than printing "Nix" in the version string, print "Tvix". This is
cosmetically nice, but also is very useful when making sure I actually
have installed tvix on a system successfully.

Change-Id: Idd1a9954bd66509327f52b7457cfba2f090ab30c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1924
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix/src/libmain')
-rw-r--r--third_party/nix/src/libmain/shared.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libmain/shared.cc b/third_party/nix/src/libmain/shared.cc
index 542dc25957a4..cd4b7879fd21 100644
--- a/third_party/nix/src/libmain/shared.cc
+++ b/third_party/nix/src/libmain/shared.cc
@@ -253,7 +253,7 @@ void parseCmdLine(
 }
 
 void printVersion(const std::string& programName) {
-  std::cout << format("%1% (Nix) %2%") % programName % nixVersion << std::endl;
+  std::cout << format("%1% (Tvix) %2%") % programName % nixVersion << std::endl;
 
   // TODO(tazjin): figure out what the fuck this is
   /*if (verbosity > lvlInfo) {