snix/tvix/derivation/src
Florian Klink 1e2c859840 feat(tvix/derivation): derive Default for Derivation
Some of the fields in a Derivation struct stay empty, and manually
creating BTreeMap or vec for it is annoying.

Derive Default instead, so we can use the defaults instead of writing
more by hand.

Change-Id: I5d41b4b55c8187cb101eb4266451a470008e0067
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7788
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2023-01-07 08:05:41 +00:00
..
tests feat(tvix/derivation): derive Default for Derivation 2023-01-07 08:05:41 +00:00
derivation.rs feat(tvix/derivation): derive Default for Derivation 2023-01-07 08:05:41 +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 fix(tvix/derivation): fix build after StorePath rename 2023-01-06 17:57:06 +00:00
string_escape.rs refactor(tvix/derivation): refactor the derivation serialization 2023-01-02 20:55:14 +00:00
validate.rs fix(tvix/derivation): fix build after StorePath rename 2023-01-06 17:57:06 +00:00
write.rs chore(tvix/derivation): align json serialization with nix output 2023-01-04 21:58:02 +00:00