···1111fn build_bridge() {
1212 // Temporary workaround for issue in <https://github.com/NixOS/nix/pull/8484>
1313 let hacky_include = {
1414- let dir = tempfile::tempdir()
1515- .expect("Failed to create temporary directory for workaround");
1616- std::fs::write(dir.path().join("uds-remote-store.md"), "\"\"")
1717- .unwrap();
1414+ let dir = tempfile::tempdir().expect("Failed to create temporary directory for workaround");
1515+ std::fs::write(dir.path().join("uds-remote-store.md"), "\"\"").unwrap();
1816 dir
1917 };
2018
+3-2
attic/src/nix_store/nix_store.rs
···991010use super::bindings::{open_nix_store, AsyncWriteAdapter, FfiNixStore};
1111use super::{to_base_name, StorePath, ValidPathInfo};
1212-use crate::hash::Hash;
1312use crate::error::AtticResult;
1313+use crate::hash::Hash;
14141515/// High-level wrapper for the Unix Domain Socket Nix Store.
1616pub struct NixStore {
···201201202202 // FIXME: Make this more ergonomic and efficient
203203 let nar_size = c_path_info.pin_mut().nar_size();
204204- let nar_sha256_hash: [u8; 32] = c_path_info.pin_mut().nar_sha256_hash().try_into().unwrap();
204204+ let nar_sha256_hash: [u8; 32] =
205205+ c_path_info.pin_mut().nar_sha256_hash().try_into().unwrap();
205206 let references = c_path_info
206207 .pin_mut()
207208 .references()