Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Evaluate a nix
expression with flox
extensions.
More...
#include <eval.hh>
Public Member Functions | |
command::VerboseParser & | getParser () |
int | run () |
Execute the eval routine. | |
Private Types | |
enum | output_style { STYLE_VALUE , STYLE_RAW , STYLE_JSON } |
Private Attributes | |
command::VerboseParser | parser |
output_style | style = STYLE_VALUE |
std::optional< std::filesystem::path > | file |
std::optional< std::string > | expr |
Additional Inherited Members | |
![]() | |
NixState ()=default | |
Construct NixState using the systems default nix store. | |
NixState (nix::ref< nix::Store > &store) | |
Construct NixState from an existing store connection. | |
nix::ref< nix::EvalState > | getState () |
Lazily open a nix evaluator. | |
![]() | |
NixStoreMixin (const NixStoreMixin &)=default | |
NixStoreMixin (NixStoreMixin &&)=default | |
NixStoreMixin & | operator= (const NixStoreMixin &)=default |
NixStoreMixin & | operator= (NixStoreMixin &&)=default |
NixStoreMixin (const nix::ref< nix::Store > &store) | |
Construct NixStoreMixin from an existing store connection. | |
NixStoreMixin () | |
Construct NixStoreMixin using the systems default nix store. | |
nix::ref< nix::Store > | getStore () |
Lazily open a nix store connection. | |
Evaluate a nix
expression with flox
extensions.
|
private |
int flox::EvalCommand::run | ( | ) |
Execute the eval
routine.
EXIT_SUCCESS
or EXIT_FAILURE
.