Nix 2.30.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::NixRepl Struct Reference
Inheritance diagram for nix::NixRepl:

Public Member Functions

void runNix (Path program, const Strings &args, const std::optional< std::string > &input={})
 NixRepl (const LookupPath &lookupPath, nix::ref< Store > store, ref< EvalState > state, std::function< AnnotatedValues()> getValues, RunNix *runNix)
ReplExitStatus mainLoop () override
void initEnv () override
virtual StringSet completePrefix (const std::string &prefix) override
StorePath getDerivationPath (Value &v)
ProcessLineResult processLine (std::string line)
void loadFile (const Path &path)
void loadFlake (const std::string &flakeRef)
void loadFiles ()
void loadFlakes ()
void reloadFilesAndFlakes ()
void showLastLoaded ()
void addAttrsToScope (Value &attrs)
void addVarToScope (const Symbol name, Value &v)
Expr * parseString (std::string s)
void evalString (std::string s, Value &v)
void loadDebugTraceEnv (DebugTrace &dt)
void printValue (std::ostream &str, Value &v, unsigned int maxDepth=std::numeric_limits< unsigned int >::max())

Public Attributes

size_t debugTraceIndex
Strings loadedFiles
Strings loadedFlakes
std::function< AnnotatedValues()> getValues
std::shared_ptr< StaticEnv > staticEnv
Value lastLoaded
Env * env
int displ
StringSet varNames
RunNix * runNixPtr
std::unique_ptr< ReplInteracter > interacter

Static Public Attributes

static const int envSize = 32768

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/nix-2.30.0-build/nix-2.30.0/src/libcmd/repl.cc