Skip to content

Anillc/nixrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixrs

Nix binding for Rust

Examples

See examples

cd nixrs && cargo run --example eval
use nixrs::{init, state::State, store::Store}; fn main() -> anyhow::Result<()> { init()?; let mut state = State::new(Store::new("daemon")?)?; let libclang = &state.eval("(import <nixpkgs> {}).libclang")?; dbg!(state.build(libclang)?); Ok(()) }

About

Nix binding for Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages