Function tvix_glue::builtins::add_derivation_builtins

source ยท
pub fn add_derivation_builtins<'co, 'ro, 'env, IO>(
    eval_builder: EvaluationBuilder<'co, 'ro, 'env, IO>,
    io: Rc<TvixStoreIO>,
) -> EvaluationBuilder<'co, 'ro, 'env, IO>
Expand description

Adds derivation-related builtins to the passed tvix_eval::Evaluation.

These are derivation and derivationStrict.

As they need to interact with known_paths, we also need to pass in known_paths.