about summary refs log tree commit diff
path: root/third_party/nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-03-22T22·04+0200
committerclbot <clbot@tvl.fyi>2024-03-23T14·37+0000
commit837fd8f3e8a3726ed6e48e5d79b35bfdfe777484 (patch)
tree7ebe1f85bf0d3678b7d037a49af5c2bd55f10f2c /third_party/nix
parent1ae5e20c984970437ac6b846de1f6e8af350d72e (diff)
fix(nix-compat/nixhash): fix SRI string parsing with superfluous suffix r/7763
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
Diffstat (limited to 'third_party/nix')
0 files changed, 0 insertions, 0 deletions