about summary refs log tree commit diff
path: root/tvix/nix-compat/src/derivation/parse_error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src/derivation/parse_error.rs')
-rw-r--r--tvix/nix-compat/src/derivation/parse_error.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/derivation/parse_error.rs b/tvix/nix-compat/src/derivation/parse_error.rs
index 26df13f5772b..68228b07c4bc 100644
--- a/tvix/nix-compat/src/derivation/parse_error.rs
+++ b/tvix/nix-compat/src/derivation/parse_error.rs
@@ -2,7 +2,7 @@
 //! Derivations from ATerm.
 use nom::IResult;
 
-use crate::nixhash;
+use crate::{nixhash, store_path};
 
 pub type NomResult<I, O> = IResult<I, O, NomError<I>>;
 
@@ -22,6 +22,9 @@ pub enum ErrorKind {
     #[error("nix hash error: {0}")]
     NixHashError(nixhash::Error),
 
+    #[error("store path error: {0}")]
+    StorePathError(#[from] store_path::Error),
+
     #[error("nom error: {0:?}")]
     Nom(nom::error::ErrorKind),
 }