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:
Florian Klink 2023-01-16 15:24:02 +01:00 committed by flokli
parent 95cad95b93
commit d644ed389a
7 changed files with 109 additions and 30 deletions

View file

@ -10,6 +10,7 @@ anyhow = "1.0.68"
glob = "0.3.0"
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.10.6"
thiserror = "1.0.38"
tvix-store-bin = { path = "../store" }
[dev-dependencies.test-generator]