Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Preferences associated with a named registry input. More...
#include <registry.hh>
Public Member Functions | |
RegistryInput (const std::optional< std::vector< Subtree > > &subtrees, const nix::FlakeRef &from) | |
RegistryInput (const nix::FlakeRef &from) | |
nix::ref< nix::FlakeRef > | getFlakeRef () const |
Get the flake reference associated with this input. | |
bool | operator== (const RegistryInput &other) const |
bool | operator!= (const RegistryInput &other) const |
![]() | |
InputPreferences (const InputPreferences &)=default | |
InputPreferences (InputPreferences &&)=default | |
InputPreferences & | operator= (const InputPreferences &)=default |
InputPreferences & | operator= (InputPreferences &&)=default |
InputPreferences (const std::optional< std::vector< Subtree > > &subtrees) | |
virtual void | clear () |
Reset to default state. | |
pkgdb::PkgQueryArgs & | fillPkgQueryArgs (pkgdb::PkgQueryArgs &pqa) const |
Fill a flox::pkgdb::PkgQueryArgs struct with preferences to lookup packages filtered by InputPreferences requirements. | |
void | merge (const InputPreferences &overrides) |
Merges this flox::InputPreferences with another InputPreferences, overriding values in this InputPreferences with those from the other InputPreferences. | |
bool | operator== (const InputPreferences &other) const |
bool | operator!= (const InputPreferences &other) const |
Public Attributes | |
std::shared_ptr< nix::FlakeRef > | from |
![]() | |
std::optional< std::vector< Subtree > > | subtrees |
Preferences associated with a named registry input.
std::shared_ptr<nix::FlakeRef> flox::RegistryInput::from |
A parsed flake reference.