make deriver optional cause it won't be there if path is a derivation
This commit is contained in:
parent
df8d3a0bc6
commit
6b959f583b
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ use url::Url;
|
|||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct PathInfo {
|
||||
pub deriver: StorePath<String>,
|
||||
pub deriver: Option<StorePath<String>>,
|
||||
pub path: StorePath<String>,
|
||||
signatures: Vec<String>,
|
||||
pub references: Vec<StorePath<String>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue