snix/tvix/derivation/src
Florian Klink 999afd4be2 test(tvix/derivation): add output_path_construction test
This exercises the output path calculation functions like a constructing
client (an implementation of builtins.derivation) would do.
It first assembles the bar derivation, does the output path calculation
on it, then continues with the foo derivation.

The code ensures the resulting Derivations match our fixtures.

Change-Id: If93f89c6622fac1c1941085083931b6f657c04bc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7775
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2023-01-06 15:39:35 +00:00
..
tests test(tvix/derivation): add output_path_construction test 2023-01-06 15:39:35 +00:00
derivation.rs feat(tvix/derivation): implement output path calculation 2023-01-06 12:25:02 +00:00
lib.rs feat(tvix/derivation): implement Derivation::validate() 2023-01-04 21:58:02 +00:00
nix_hash.rs feat(tvix/derivation): add nix drv path generation to Derivation 2023-01-04 12:24:00 +00:00
output.rs feat(tvix/derivation): derive Clone, Debug, Eq and PartialEq 2023-01-04 21:58:02 +00:00
string_escape.rs refactor(tvix/derivation): refactor the derivation serialization 2023-01-02 20:55:14 +00:00
validate.rs feat(tvix/derivation): implement Derivation::validate() 2023-01-04 21:58:02 +00:00
write.rs chore(tvix/derivation): align json serialization with nix output 2023-01-04 21:58:02 +00:00