fix(tvix/glue/benches/eval): add impure_builtins

Impure builtins need to be explicitly added. This was missed from
cl/10640.

Change-Id: I1f8a84aa02f1cf8a26247960d6eb15895e09c610
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10667
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2024-01-20 01:49:01 +02:00 committed by clbot
parent 93dfc65f10
commit a720278843

View file

@ -6,7 +6,7 @@ use tvix_castore::{
blobservice::{BlobService, MemoryBlobService},
directoryservice::{DirectoryService, MemoryDirectoryService},
};
use tvix_eval::EvalIO;
use tvix_eval::{builtins::impure_builtins, EvalIO};
use tvix_glue::{
builtins::add_derivation_builtins, configure_nix_path, tvix_io::TvixIO,
tvix_store_io::TvixStoreIO,
@ -43,6 +43,7 @@ fn interpret(code: &str) {
true,
);
eval.builtins.extend(impure_builtins());
add_derivation_builtins(&mut eval, tvix_store_io);
configure_nix_path(
&mut eval,