snix/tvix/nix-compat/src
Florian Klink 09a901de5b feat(tvix/nix-compat): fix and improve error message
Similar to cl/9350. Most of the times, this is still a regular string,
so let's print it like that if we can, and resort to base64 encoding if
we can't.

We were also wrongly always outputting the second character in the
string.

Change-Id: Id0e2a9d9f1ad3d2d7b554893ecd89a7e6383e9c2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9445
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
2023-09-23 12:54:18 +00:00
..
derivation refactor(tvix/nix-compat/nixhash): validate digest lengths 2023-08-20 22:19:22 +00:00
nar refactor(tvix/store): Asyncify PathInfoService and DirectoryService 2023-09-21 17:58:23 +00:00
nixhash docs(tvix/nix-compat/nixhash): update comments 2023-08-20 22:40:53 +00:00
store_path feat(tvix/nix-compat): fix and improve error message 2023-09-23 12:54:18 +00:00
lib.rs refactor(nix-compat) Make nixhash_* mods hierarchical 2023-03-31 18:46:18 +00:00
nixbase32.rs refactor(tvix/nix-compat): address clippy in nixbase32.rs tests 2023-03-04 12:21:28 +00:00