From 43d83274e631bd8743d2e0b6445501ccbb4459b0 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 14 Jan 2023 01:47:32 +0300 Subject: chore(tvix/store): derive Clone for StorePath Change-Id: Id325afa766b0bd2a3d04cf538f13e77692a22687 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7829 Autosubmit: tazjin Reviewed-by: flokli Tested-by: BuildkiteCI --- tvix/store/src/store_path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/store') diff --git a/tvix/store/src/store_path.rs b/tvix/store/src/store_path.rs index 1719e071c8..925a0b4ccf 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, -- cgit 1.4.1