about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/nix-compat/src/path_info.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/path_info.rs b/tvix/nix-compat/src/path_info.rs
index bf60f673ce..f289ebde33 100644
--- a/tvix/nix-compat/src/path_info.rs
+++ b/tvix/nix-compat/src/path_info.rs
@@ -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,