we don't ever serialize pathinfo
This commit is contained in:
parent
6b959f583b
commit
307109d9f1
1 changed files with 2 additions and 3 deletions
|
@ -5,14 +5,13 @@ use aws_sdk_s3 as s3;
|
||||||
use nix_compat::nixbase32;
|
use nix_compat::nixbase32;
|
||||||
use nix_compat::store_path::StorePath;
|
use nix_compat::store_path::StorePath;
|
||||||
use regex::Regex;
|
use regex::Regex;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::Deserialize;
|
||||||
use tokio::process::Command;
|
use tokio::process::Command;
|
||||||
use tracing::{debug, error, trace};
|
use tracing::{debug, error, trace};
|
||||||
use url::Url;
|
use url::Url;
|
||||||
|
|
||||||
// nix path-info --derivation --json
|
// nix path-info --derivation --json
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Deserialize)]
|
||||||
#[serde(rename_all = "camelCase")]
|
|
||||||
pub struct PathInfo {
|
pub struct PathInfo {
|
||||||
pub deriver: Option<StorePath<String>>,
|
pub deriver: Option<StorePath<String>>,
|
||||||
pub path: StorePath<String>,
|
pub path: StorePath<String>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue