don't do anything cahash cause serde fails to parse sometimes
This commit is contained in:
parent
5111af1d34
commit
df8d3a0bc6
2 changed files with 2 additions and 3 deletions
|
@ -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<String>,
|
||||
signatures: Vec<String>,
|
||||
pub references: Vec<StorePath<String>>,
|
||||
pub ca: Option<CAHash>,
|
||||
}
|
||||
impl PathInfo {
|
||||
/// get PathInfo for a package or a store path
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue