about summary refs log tree commit diff
path: root/tvix/nix-compat/src/derivation/validate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src/derivation/validate.rs')
-rw-r--r--tvix/nix-compat/src/derivation/validate.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/derivation/validate.rs b/tvix/nix-compat/src/derivation/validate.rs
index 7456f930d15e..91b24f811de4 100644
--- a/tvix/nix-compat/src/derivation/validate.rs
+++ b/tvix/nix-compat/src/derivation/validate.rs
@@ -3,9 +3,11 @@ use crate::store_path::StorePath;
 
 impl Derivation {
     /// validate ensures a Derivation struct is properly populated,
-    /// and returns a [ValidateDerivationError] if not.
+    /// and returns a [DerivationError] if not.
+    ///
     /// if `validate_output_paths` is set to false, the output paths are
     /// excluded from validation.
+    ///
     /// This is helpful to validate struct population before invoking
     /// [Derivation::calculate_output_paths].
     pub fn validate(&self, validate_output_paths: bool) -> Result<(), DerivationError> {