refactor(tvix/derivation): expose proper ValidateDerivationError
Use proper errors, instead of anyhow. Change-Id: I6db14c72a6319b389b0136aac7b84f50a30fb366 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7847 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
95cad95b93
commit
d644ed389a
7 changed files with 109 additions and 30 deletions
|
|
@ -1,4 +1,5 @@
|
|||
mod derivation;
|
||||
mod errors;
|
||||
mod nix_hash;
|
||||
mod output;
|
||||
mod string_escape;
|
||||
|
|
@ -11,4 +12,5 @@ mod tests;
|
|||
// Public API of the crate.
|
||||
|
||||
pub use derivation::Derivation;
|
||||
pub use errors::ValidateDerivationError;
|
||||
pub use output::{Hash, Output};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue