Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
A set of user inputs and preferences used for resolution and search. More...
#include <nix/flake/flakeref.hh>
#include "flox/core/util.hh"
#include "flox/pkgdb/input.hh"
#include "flox/registry.hh"
Namespaces | |
namespace | flox |
Interfaces for use by flox . | |
Functions | |
void | flox::from_json (const nlohmann::json &jfrom, RegistryInput &rip) |
Convert a JSON object to a flox::RegistryInput. | |
void | flox::to_json (nlohmann::json &jto, const RegistryInput &rip) |
Convert a flox::RegistryInput to a JSON object. | |
void | flox::from_json (const nlohmann::json &jfrom, RegistryRaw ®) |
Convert a JSON object to a flox::RegistryRaw. | |
void | flox::to_json (nlohmann::json &jto, const RegistryRaw ®) |
Convert a flox::RegistryRaw to a JSON object. | |
void | flox::from_json (const nlohmann::json &jfrom, InputPreferences &prefs) |
Convert a JSON object to an flox::InputPreferences. | |
void | flox::to_json (nlohmann::json &jto, const InputPreferences &prefs) |
Convert an flox::InputPreferences to a JSON object. | |
RegistryRaw | flox::lockRegistry (const RegistryRaw &unlocked, const nix::ref< nix::Store > &store=NixStoreMixin().getStore()) |
Lock an unlocked registry. | |
RegistryRaw | flox::getGARegistry () |
Get a hard coded registry for use with flox 's GA release. | |
A set of user inputs and preferences used for resolution and search.