1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

Style tweaks

This commit is contained in:
Eelco Dolstra 2022-05-25 12:32:22 +02:00
parent ba035f7dd0
commit 91b7d5373a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
9 changed files with 165 additions and 370 deletions

View file

@ -48,7 +48,7 @@ struct NixRepl
#endif
{
std::string curDir;
EvalState &state;
EvalState & state;
Bindings * autoArgs;
size_t debugTraceIndex;
@ -63,11 +63,11 @@ struct NixRepl
const Path historyFile;
NixRepl(EvalState &state);
NixRepl(EvalState & state);
~NixRepl();
void mainLoop(const std::vector<std::string> & files);
StringSet completePrefix(const std::string & prefix);
bool getLine(std::string & input, const std::string &prompt);
bool getLine(std::string & input, const std::string & prompt);
StorePath getDerivationPath(Value & v);
bool processLine(std::string line);
void loadFile(const Path & path);
@ -96,7 +96,7 @@ std::string removeWhitespace(std::string s)
}
NixRepl::NixRepl(EvalState &state)
NixRepl::NixRepl(EvalState & state)
: state(state)
, debugTraceIndex(0)
, staticEnv(new StaticEnv(false, state.staticBaseEnv.get()))