|
Flox Package Database 1
CRUD Operations on Nix Package Metadata
|
Extensions to nix primitive operations.
More...
#include <nix/json-to-value.hh>#include <nix/primops.hh>#include <nix/value-to-json.hh>#include <nlohmann/json.hpp>#include "flox/core/expr.hh"#include "flox/core/nix-state.hh"#include "flox/pkgdb/pkg-query.hh"#include "flox/pkgdb/primops.hh"#include "flox/registry.hh"Namespaces | |
| namespace | flox |
Interfaces for use by flox. | |
| namespace | flox::pkgdb |
| Interfaces for caching package metadata in SQLite3 databases. | |
Functions | |
| void | flox::pkgdb::prim_getFingerprint (nix::EvalState &state, const nix::PosIdx pos, nix::Value **args, nix::Value &value) |
| Lookup a flake's fingerprint hash. | |
| static nix::RegisterPrimOp | flox::pkgdb::primop_getFingerprint ({ .name="__getFingerprint",.args={ "flakeRef" },.arity=0,.doc=R"( This hash uniquely identifies a revision of a locked flake. Takes a single argument: - `flakeRef`: Either an attribute set or string flake-ref. )",.fun=prim_getFingerprint,.experimentalFeature=nix::Xp::Flakes }) |
Extensions to nix primitive operations.