feat(tvix/nix-compat/path_info): derive Hash for ExportedPathInfo
Change-Id: Icd2431f27043f120eee1d156cfcdc9bc85519ead Reviewed-on: https://cl.tvl.fyi/c/depot/+/11412 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
b70e01a4db
commit
23871649bb
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ use std::collections::BTreeSet;
|
|||
/// This is not to be confused with the format Nix uses in its `nix path-info` command.
|
||||
/// It includes some more fields, like `registrationTime`, `signatures` and `ultimate`,
|
||||
/// does not include the `closureSize` and encodes `narHash` as SRI.
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Hash, Serialize, Deserialize)]
|
||||
pub struct ExportedPathInfo<'a> {
|
||||
#[serde(rename = "closureSize")]
|
||||
pub closure_size: u64,
|
||||
|
|
Loading…
Reference in a new issue