difftreelog
fix native-eval stub
in: trunk
2 files changed
crates/nix-native-eval/Cargo.tomldiffbeforeafterboth--- a/crates/nix-native-eval/Cargo.toml
+++ b/crates/nix-native-eval/Cargo.toml
@@ -4,4 +4,5 @@
version.workspace = true
[dependencies]
+anyhow.workspace = true
nixrs = { git = "https://github.com/Anillc/nixrs", version = "0.1.0" }
crates/nix-native-eval/src/lib.rsdiffbeforeafterboth1use anyhow::Result;1use nixrs::{State, Store};2use nixrs::{State, Store};233fn init() {4pub fn init() -> Result<()> {4 nixrs::init();5 nixrs::init()?;5 let store = Store::new("daemon")?;6 let store = Store::new("daemon")?;6 let state = State::new(store)7 let state = State::new(store)?;8 let _ = state;910 Ok(())7}11}812