git.delta.rocks / jrsonnet / refs/commits / 45f5af0fdfba

difftreelog

fix native-eval stub

Yaroslav Bolyukin2024-11-14parent: #064468b.patch.diff
in: trunk

2 files changed

modifiedcrates/nix-native-eval/Cargo.tomldiffbeforeafterboth
4version.workspace = true4version.workspace = true
55
6[dependencies]6[dependencies]
7anyhow.workspace = true
7nixrs = { git = "https://github.com/Anillc/nixrs", version = "0.1.0" }8nixrs = { git = "https://github.com/Anillc/nixrs", version = "0.1.0" }
89
modifiedcrates/nix-native-eval/src/lib.rsdiffbeforeafterboth
1use anyhow::Result;
1use nixrs::{State, Store};2use nixrs::{State, Store};
23
3fn 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;
9
10 Ok(())
7}11}
812