diff options
Diffstat (limited to 'tvix/serde/src/de.rs')
-rw-r--r-- | tvix/serde/src/de.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/serde/src/de.rs b/tvix/serde/src/de.rs index 2e8a9618e637..500c9c98409d 100644 --- a/tvix/serde/src/de.rs +++ b/tvix/serde/src/de.rs @@ -46,12 +46,12 @@ where F: FnOnce(&mut Evaluation), { // First step is to evaluate the Nix code ... - let mut eval = Evaluation::new(src, None); + let mut eval = Evaluation::default(); config(&mut eval); eval.strict = true; let source = eval.source_map(); - let result = eval.evaluate(); + let result = eval.evaluate(src, None); if !result.errors.is_empty() { return Err(Error::NixErrors { |