tvl-depot/tvix/nix-compat/src
Florian Klink 837fd8f3e8 fix(nix-compat/nixhash): fix SRI string parsing with superfluous suffix
We tried to be more strict than Nix, actually detecting if multiple
hashes were specified, or other garbage at the end.

However, Nix seems to just chop off at the end, so happily accepts
anything afterwards.

Example: https://github.com/NixOS/nixpkgs/pull/298041
Example: https://github.com/NixOS/nixpkgs/pull/298052
Change-Id: I2c1a49f51c8f8589a84df2fbf148e67e7380b550
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11234
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-03-23 14:37:55 +00:00
..
aterm docs(nix-compat/aterm/parser): fix docstring 2023-12-21 16:43:44 +00:00
bin docs(nix-compat/drvfmt): fix reference 2023-12-21 16:39:07 +00:00
derivation refactor(nix-compat/derivation): emphasize aterm_bytes 2024-03-14 23:10:54 +00:00
nar chore(3p/sources): Bump channels & overlays 2024-01-19 21:47:32 +00:00
narinfo docs(nix-compat/narinfo): fix reference 2023-12-21 16:36:34 +00:00
nixhash fix(nix-compat/nixhash): fix SRI string parsing with superfluous suffix 2024-03-23 14:37:55 +00:00
store_path refactor(nix-compat/store_path): add from_name_and_digest_fixed 2024-03-14 23:10:54 +00:00
wire feat(tvix/nix-compat): add read_u32 wire primitive 2024-03-22 05:58:41 +00:00
lib.rs feat(tvix/nix-compat): introduce magic hello/response 2024-03-19 16:51:12 +00:00
nixbase32.rs refactor(nix-compat/nixbase32): address clippy 2023-12-09 12:58:39 +00:00