Function tvix_glue::builtins::add_import_builtins

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

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

These are filterSource and path

As they need to interact with the store implementation, we pass TvixStoreIO.