Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Extensions to nix
primitive operations.
More...
#include "flox/core/nix-state.hh"
Go to the source code of this file.
Namespaces | |
namespace | flox |
Interfaces for use by flox . | |
Functions | |
void | flox::resolver::prim_resolve (nix::EvalState &state, const nix::PosIdx pos, nix::Value **args, nix::Value &value) |
Resolve a descriptor to an installable. | |
Extensions to nix
primitive operations.
void flox::resolver::prim_resolve | ( | nix::EvalState & | state, |
const nix::PosIdx | pos, | ||
nix::Value ** | args, | ||
nix::Value & | value | ||
) |
Resolve a descriptor to an installable.
Takes the following arguments:
options
: An attribute set of flox::Options
.flake-ref
: Either an attribute set or string.query
: Either a string or attribute set representing a descriptor.state | The nix evaluator's state. |
pos | The position ( file name and line/column numbers ) of the call. This is generally used for error reporting. |
args | The arguments to the primitive. |
value | An allocated nix::Value to store the result in. |