feat(tvix/derivation): serialize Nix Derivation

This adds a Derivation structure and allows to write it to a structure that implements std::fmt:Write.
The implementation is based on the go-nix version.

Change-Id: Ib54e1202b5c67f5d206b21bc109a751e971064cf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7659
Reviewed-by: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Jürgen Hahn 2022-12-28 10:28:37 +01:00 committed by jrhahn
parent 42fe3941c2
commit bb185b2c6e
22 changed files with 516 additions and 0 deletions

View file

@ -19,6 +19,7 @@
members = [
"cli",
"derivation",
"eval",
"eval/builtin-macros",
"nar",