tvl-depot/tvix/glue
Bob van der Linden 37835634e8 feat(tvix/glue): use InvalidHash for builtins.path
Previously such errors showed up as:

error[E006]: expected value of type 'sha256', but found a 'not a sha256'

Now they show up as:

error[E041]: Invalid hash: invalid encoded digest length '31' for algo
sha256

This is consistent with the errors of `builtins.fetchurl`.

Change-Id: Id11b26fc7951778640cc4e41b3bf23203eaf07df
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12719
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2024-11-02 19:51:53 +00:00
..
benches refactor(tvix/glue): remove use of lazy_static 2024-10-13 14:45:17 +00:00
src feat(tvix/glue): use InvalidHash for builtins.path 2024-11-02 19:51:53 +00:00
build.rs fix(tvix): make rstest pick up new test case files 2024-06-05 17:52:17 +00:00
Cargo.toml refactor(tvix/glue): remove use of lazy_static 2024-10-13 14:45:17 +00:00
default.nix chore(tvix): Retain original passthru in Rust builds 2024-08-15 23:37:00 +00:00