Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Runtime state containing a nix
store connection and a nix
evaluator.
More...
#include <nix-state.hh>
Public Member Functions | |
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. | |
Private Attributes | |
std::shared_ptr< nix::EvalState > | state |
Runtime state containing a nix
store connection and a nix
evaluator.
|
inlineexplicit |
Construct NixState
from an existing store connection.
This may be useful if you wish to avoid a non-default store.
store | An open nix store connection. |
|
inline |
Lazily open a nix
evaluator.
Evaluator remains open for lifetime of object.
|
private |
nix
evaluator instance.