tvl-depot/tvix/glue/src
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
..
builtins feat(tvix/glue): use InvalidHash for builtins.path 2024-11-02 19:51:53 +00:00
fetchers refactor(tvix/store): use strictly typed PathInfo struct 2024-10-11 17:18:20 +00:00
tests fix(tvix/glue): don't use builtins.currentSystem in test 2024-10-21 12:59:58 +00:00
.skip-subtree refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
fetchurl.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
fetchurl.rs feat(tvix/glue): support builtin:fetchurl 2024-06-12 22:31:17 +00:00
known_paths.rs refactor(tvix/glue): remove use of lazy_static 2024-10-13 14:45:17 +00:00
lib.rs refactor(tvix): move refscan module to castore 2024-09-27 20:39:58 +00:00
tvix_build.rs refactor(tvix/build): use stricter BuildRequest type 2024-10-24 18:09:09 +00:00
tvix_io.rs docs(tvix/glue/tvix_io): update doc-comments 2024-08-19 10:24:37 +00:00
tvix_store_io.rs refactor(tvix/build): use stricter BuildRequest type 2024-10-24 18:09:09 +00:00