about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-01-13T22·47+0300
committerclbot <clbot@tvl.fyi>2023-01-14T09·48+0000
commit43d83274e631bd8743d2e0b6445501ccbb4459b0 (patch)
tree9d8b5a7ebd955ef6307f0625041ca9009c516e0f
parenta35dadf9f0c7c98d2ae8761428936a0b9d30489e (diff)
chore(tvix/store): derive Clone for StorePath r/5658
Change-Id: Id325afa766b0bd2a3d04cf538f13e77692a22687
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7829
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
-rw-r--r--tvix/store/src/store_path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/store_path.rs b/tvix/store/src/store_path.rs
index 1719e071c80f..925a0b4ccff2 100644
--- a/tvix/store/src/store_path.rs
+++ b/tvix/store/src/store_path.rs
@@ -36,7 +36,7 @@ pub enum ParseStorePathError {
 /// The name is usually used to describe the pname and version of a package.
 /// Derivations paths can also be represented as store paths, they end
 /// with .drv.
-#[derive(Debug, PartialEq, Eq)]
+#[derive(Clone, Debug, PartialEq, Eq)]
 pub struct StorePath {
     pub digest: [u8; DIGEST_SIZE],
     pub name: String,