From adebfbbf24ff69e6fdfbfe45c174326d26bf57d0 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 31 Aug 2020 22:40:05 -0400 Subject: [PATCH] feat(tvix): Print "Tvix" in the version string 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 Tested-by: BuildkiteCI --- third_party/nix/src/libmain/shared.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/nix/src/libmain/shared.cc b/third_party/nix/src/libmain/shared.cc index 542dc2595..cd4b7879f 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) {