diff options
author | Peter Kolloch <info@eigenvalue.net> | 2024-02-21T07·07+0700 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-02-21T11·34+0000 |
commit | 035f617b7f11f2ec4a9e08e3a31a175e71a6544b (patch) | |
tree | 67bf2b777167dbfa1c7a885ed333a1f723dd994e /tvix/nix-compat/src/derivation/parse_error.rs | |
parent | c06fb01b3b7a752e0c04ba21a02cdc3f431055e1 (diff) |
feat(tvix/nix-compat): input_sources as StorePath r/7584
https: //b.tvl.fyi/issues/264 Change-Id: I7a235734dc1f8e93e387a04ba369f3b702c6d5b6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10992 Autosubmit: Peter Kolloch <info@eigenvalue.net> Reviewed-by: flokli <flokli@flokli.de> Reviewed-by: Peter Kolloch <info@eigenvalue.net> Tested-by: BuildkiteCI
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), |