about summary refs log tree commit diff
path: root/tvix/nix-compat/src
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src')
-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 bf60f673cead..f289ebde338c 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,