diff options
Diffstat (limited to 'tvix/nix-compat/src/derivation/parse_error.rs')
-rw-r--r-- | tvix/nix-compat/src/derivation/parse_error.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/derivation/parse_error.rs b/tvix/nix-compat/src/derivation/parse_error.rs index 68228b07c4bc..fc97f1a9883b 100644 --- a/tvix/nix-compat/src/derivation/parse_error.rs +++ b/tvix/nix-compat/src/derivation/parse_error.rs @@ -2,7 +2,10 @@ //! Derivations from ATerm. use nom::IResult; -use crate::{nixhash, store_path}; +use crate::{ + nixhash, + store_path::{self, StorePath}, +}; pub type NomResult<I, O> = IResult<I, O, NomError<I>>; @@ -17,7 +20,7 @@ pub enum ErrorKind { DuplicateInputDerivationOutputName(String, String), #[error("duplicate input source: {0}")] - DuplicateInputSource(String), + DuplicateInputSource(StorePath), #[error("nix hash error: {0}")] NixHashError(nixhash::Error), |