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:
parent
93dfc65f10
commit
a720278843
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ use tvix_castore::{
|
||||||
blobservice::{BlobService, MemoryBlobService},
|
blobservice::{BlobService, MemoryBlobService},
|
||||||
directoryservice::{DirectoryService, MemoryDirectoryService},
|
directoryservice::{DirectoryService, MemoryDirectoryService},
|
||||||
};
|
};
|
||||||
use tvix_eval::EvalIO;
|
use tvix_eval::{builtins::impure_builtins, EvalIO};
|
||||||
use tvix_glue::{
|
use tvix_glue::{
|
||||||
builtins::add_derivation_builtins, configure_nix_path, tvix_io::TvixIO,
|
builtins::add_derivation_builtins, configure_nix_path, tvix_io::TvixIO,
|
||||||
tvix_store_io::TvixStoreIO,
|
tvix_store_io::TvixStoreIO,
|
||||||
|
@ -43,6 +43,7 @@ fn interpret(code: &str) {
|
||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
eval.builtins.extend(impure_builtins());
|
||||||
add_derivation_builtins(&mut eval, tvix_store_io);
|
add_derivation_builtins(&mut eval, tvix_store_io);
|
||||||
configure_nix_path(
|
configure_nix_path(
|
||||||
&mut eval,
|
&mut eval,
|
||||||
|
|
Loading…
Reference in a new issue