Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
flake.hh File Reference

Go to the source code of this file.

Classes

struct  nix::flake::FlakeInput
struct  nix::flake::ConfigFile
struct  nix::flake::Flake
struct  nix::flake::LockedFlake
struct  nix::flake::LockFlags

Typedefs

typedef std::map< FlakeId, FlakeInput > nix::flake::FlakeInputs
typedef Hash nix::flake::Fingerprint

Functions

Flake nix::flake::getFlake (EvalState &state, const FlakeRef &originalRef, fetchers::UseRegistries useRegistries)
LockedFlake nix::flake::lockFlake (const Settings &settings, EvalState &state, const FlakeRef &topRef, const LockFlags &lockFlags)
LockedFlake nix::flake::lockFlake (const Settings &settings, EvalState &state, const SourcePath &flakeDir, const LockFlags &lockFlags)
void nix::flake::callFlake (EvalState &state, const LockedFlake &lockedFlake, Value &vRes)
ref< eval_cache::EvalCache > nix::flake::openEvalCache (EvalState &state, ref< const LockedFlake > lockedFlake)
void nix::prim_fetchFinalTree (EvalState &state, CallSite callSite, Value *const *args, Value &v)

Typedef Documentation

◆ Fingerprint

Fingerprint of a locked flake; used as a cache key.

Function Documentation

◆ openEvalCache()

ref< eval_cache::EvalCache > nix::flake::openEvalCache ( EvalState & state,
ref< const LockedFlake > lockedFlake )

Open an evaluation cache for a flake.

◆ prim_fetchFinalTree()

void nix::prim_fetchFinalTree ( EvalState & state,
CallSite callSite,
Value *const * args,
Value & v )

An internal builtin similar to fetchTree, except that it always treats the input as final (i.e. no attributes can be added/removed/changed).