diff --git a/src/path_info.rs b/src/path_info.rs index 24969c9..77a8cdb 100644 --- a/src/path_info.rs +++ b/src/path_info.rs @@ -2,8 +2,8 @@ use std::collections::HashSet; use anyhow::{Context, Error, Result}; use aws_sdk_s3 as s3; +use nix_compat::nixbase32; use nix_compat::store_path::StorePath; -use nix_compat::{nixbase32, nixhash::CAHash}; use regex::Regex; use serde::{Deserialize, Serialize}; use tokio::process::Command; @@ -18,7 +18,6 @@ pub struct PathInfo { pub path: StorePath, signatures: Vec, pub references: Vec>, - pub ca: Option, } impl PathInfo { /// get PathInfo for a package or a store path diff --git a/src/uploader.rs b/src/uploader.rs index e52e4ae..0a25cff 100644 --- a/src/uploader.rs +++ b/src/uploader.rs @@ -157,7 +157,7 @@ impl<'a> Uploader<'a> { nar_size: nar.len() as u64, references: self.path.references.iter().map(StorePath::as_ref).collect(), signatures: Vec::new(), - ca: self.path.ca.clone(), + ca: None, system: None, deriver: Some(self.path.deriver.as_ref()), compression: Some("zstd"),