tvl-depot/tvix/derivation
Vincent Ambo a35dadf9f0 refactor(tvix/derivation): use BTreeSet for derivation outputs
When constructing derivations inside builtins.derivationStrict, we'd
have to very frequently check whether certain outputs have already
been inserted into the derivation inputs.

Using a set type is much easier, especially as this has to be ordered
and the source data that is being inserted also comes from a set,
which might let us pass this more efficiently in the future.

Note that the validate function no longer checks the order of the
entries, as that is now guaranteed by the type.

Change-Id: I2fbb984facba3e668075f6f8df8992092368c63d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7826
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2023-01-13 18:01:09 +00:00
..
src refactor(tvix/derivation): use BTreeSet for derivation outputs 2023-01-13 18:01:09 +00:00
Cargo.toml fix(tvix/derivation): fix build after StorePath rename 2023-01-06 17:57:06 +00:00
default.nix fix(tvix/derivation): fix build after StorePath rename 2023-01-06 17:57:06 +00:00