about summary refs log tree commit diff
path: root/tvix/glue
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-01-19T23·49+0200
committerclbot <clbot@tvl.fyi>2024-01-20T00·33+0000
commita720278843b5df94a8804dc0b268ac64a87754ce (patch)
treecb28e485c648bae529231e810c9486288fb874b4 /tvix/glue
parent93dfc65f10592cc57b53e06cb8593484008c371b (diff)
fix(tvix/glue/benches/eval): add impure_builtins r/7425
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>
Diffstat (limited to 'tvix/glue')
-rw-r--r--tvix/glue/benches/eval.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tvix/glue/benches/eval.rs b/tvix/glue/benches/eval.rs
index 6a41cd759c73..4e1886c4018e 100644
--- a/tvix/glue/benches/eval.rs
+++ b/tvix/glue/benches/eval.rs
@@ -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,