feat(tvix/cli): implement NixCompatIO
helper type
This type allows for temporarily compatibility with the C++ Nix store, specifically (for now) it gives us the store directory used by Nix and imports files the same way. Change-Id: I4767794ef2863eba49661315c63c4e17de946d60 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7587 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
4714f8b939
commit
ea7d63e177
6 changed files with 92 additions and 2 deletions
|
@ -45,7 +45,7 @@ use std::sync::Arc;
|
|||
pub use crate::builtins::global_builtins;
|
||||
pub use crate::compiler::{compile, prepare_globals};
|
||||
pub use crate::errors::{Error, ErrorKind, EvalResult};
|
||||
pub use crate::io::{DummyIO, EvalIO};
|
||||
pub use crate::io::{DummyIO, EvalIO, FileType};
|
||||
use crate::observer::{CompilerObserver, RuntimeObserver};
|
||||
pub use crate::pretty_ast::pretty_print_expr;
|
||||
pub use crate::source::SourceCode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue