<title>feat(nix-compat/{aterm,derivation}): init parser</title>
<updated>2023-10-16T12:23:00+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
...</author>
<published>2023-07-31T13:46:39+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=2410f2292f53a17242ed54b0af2d7b04ec3173f6"/>
<id>urn:sha1:2410f2292f53a17242ed54b0af2d7b04ec3173f6</id>
<content type="text">
This provides a nom-based parser for Nix derivations in ATerm format,
which can be reached via `Derivation::from_aterm_bytes`.
Some of the lower-level ATerm primitives are moved into a (new) aterm
module, and some more higher-level ones that construct derivation-
specific types.
Also, move the escape_bytes function into there, this is a generic ATerm
thing.
Change-Id: I2b03b8a1461c7ea2fcb8640c2fc3d1fa3ea719fb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9730
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
</content>