diff options
author | eldritch horrors <pennae@lix.systems> | 2024-05-16 03:17:03 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-07-16 00:57:42 +0000 |
commit | 4ec87742a196d8ed8f41b41ef039706ce791448d (patch) | |
tree | e34e70442f55edf40319df42d302c41d11a89c63 /src/libstore/daemon.cc | |
parent | c052716edddc94cb027791cc572bcbd22edff590 (diff) |
libstore: rewrite the nar parser as a contents generator
this is not completely necessary at this point because the parser right
now already returns a generator to pass through all input data it read,
but the nar parser *was* very lax and would accept nars that weren't in
canonical form (defined as the form dumpPath would return). nar hashing
depends on these things, and as such rewriting the parser now allows us
to reject non-canonical nars that extract to the same store contents as
their canonical counterpart but have different nar hashes despite that.
Change-Id: Iccd319e3bd5912d8297014c84c495edc59019bb7
Diffstat (limited to 'src/libstore/daemon.cc')
0 files changed, 0 insertions, 0 deletions