about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/derivation/src/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/derivation/src/errors.rs b/tvix/derivation/src/errors.rs
index 5930c84685b4..a1c49650edef 100644
--- a/tvix/derivation/src/errors.rs
+++ b/tvix/derivation/src/errors.rs
@@ -2,7 +2,7 @@ use thiserror::Error;
 use tvix_store::store_path::ParseStorePathError;
 
 /// Errors that can occur during the validation of Derivation structs.
-#[derive(Debug, Error)]
+#[derive(Debug, Error, PartialEq)]
 pub enum DerivationError {
     // outputs
     #[error("no outputs defined")]
@@ -43,7 +43,7 @@ pub enum DerivationError {
 }
 
 /// Errors that can occur during the validation of a specific [Output] of a [Derviation].
-#[derive(Debug, Error)]
+#[derive(Debug, Error, PartialEq)]
 pub enum OutputError {
     #[error("Invalid ouput path {0}: {1}")]
     InvalidOutputPath(String, ParseStorePathError),