nix
pub trait NixPath { fn with_nix_path<T, F>(&self, f: F) -> Result<T> where F: FnOnce(&OsStr) -> T; }
fn with_nix_path<T, F>(&self, f: F) -> Result<T> where F: FnOnce(&OsStr) -> T
impl NixPath for [u8]
impl NixPath for Path
impl NixPath for PathBuf