un-nixes ur lix, a little

I didn't really go attack the docs because we need to pull a bunch of
PRs. I went looking for strings in the code that called lix nix.

Change-Id: I2138bb4dd239096bc530946b281db7f875195b39
This commit is contained in:
jade 2024-03-18 16:20:00 -07:00
parent c1a475918b
commit e72130deb9
5 changed files with 5 additions and 5 deletions

View file

@ -186,7 +186,7 @@ ReplExitStatus NixRepl::mainLoop()
if (state->debugRepl) { if (state->debugRepl) {
debuggerNotice = " debugger"; debuggerNotice = " debugger";
} }
notice("Nix %1%%2%\nType :? for help.", nixVersion, debuggerNotice); notice("Lix %1%%2%\nType :? for help.", nixVersion, debuggerNotice);
} }
isFirstRepl = false; isFirstRepl = false;

View file

@ -93,7 +93,7 @@ void printAmbiguous(
str << v.fpoint; str << v.fpoint;
break; break;
default: default:
printError("Nix evaluator internal error: printAmbiguous: invalid value type"); printError("Lix evaluator internal error: printAmbiguous: invalid value type");
abort(); abort();
} }
} }

View file

@ -1090,7 +1090,7 @@ void processConnection(
tunnelLogger->stopWork(&e); tunnelLogger->stopWork(&e);
if (!errorAllowed) throw; if (!errorAllowed) throw;
} catch (std::bad_alloc & e) { } catch (std::bad_alloc & e) {
auto ex = Error("Nix daemon out of memory"); auto ex = Error("Lix daemon out of memory");
tunnelLogger->stopWork(&ex); tunnelLogger->stopWork(&ex);
throw; throw;
} }

View file

@ -47,7 +47,7 @@ extern char * * environ __attribute__((weak));
#ifdef NDEBUG #ifdef NDEBUG
#error "Nix may not be built with assertions disabled (i.e. with -DNDEBUG)." #error "Lix may not be built with assertions disabled (i.e. with -DNDEBUG)."
#endif #endif
namespace nix { namespace nix {

View file

@ -243,7 +243,7 @@ static void showHelp(std::vector<std::string> subcommand, NixArgs & toplevel)
auto attr = vRes->attrs->get(state.symbols.create(mdName + ".md")); auto attr = vRes->attrs->get(state.symbols.create(mdName + ".md"));
if (!attr) if (!attr)
throw UsageError("Nix has no subcommand '%s'", concatStringsSep("", subcommand)); throw UsageError("`nix` has no subcommand '%s'", concatStringsSep("", subcommand));
auto markdown = state.forceString(*attr->value, noPos, "while evaluating the lowdown help text"); auto markdown = state.forceString(*attr->value, noPos, "while evaluating the lowdown help text");