diff options
Diffstat (limited to 'corp/tvixbolt/src')
-rw-r--r-- | corp/tvixbolt/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/corp/tvixbolt/src/main.rs b/corp/tvixbolt/src/main.rs index 0de48b3ac71e..5a4f25088114 100644 --- a/corp/tvixbolt/src/main.rs +++ b/corp/tvixbolt/src/main.rs @@ -286,7 +286,7 @@ fn eval(model: &Model) -> Output { return out; } - let mut eval = tvix_eval::Evaluation::new(&model.code, Some("/nixbolt".into())); + let mut eval = tvix_eval::Evaluation::default(); let source = eval.source_map(); let result = { @@ -298,7 +298,7 @@ fn eval(model: &Model) -> Output { eval.runtime_observer = Some(&mut runtime_observer); } - eval.evaluate() + eval.evaluate(&model.code, Some("/nixbolt".into())) }; if model.display_ast { |