tvl-depot/tvix/cli/src
Vincent Ambo fdca93d6ed feat(tvix/cli): add helper for populating derivation inputs
This adds a helper function which takes the output of the reference
scanner used on derivation inputs and populates the `input_sources`
and `input_derivations` field of the derivation accordingly.

Note that we have a divergence from C++ Nix here, as we do not
populate the entire FS closure of a literally referred derivation (and
our standing theory is that this is unnecessary for nixpkgs).

Change-Id: Id0f605dd8c0a82973c56605c2b8f478fc17777d6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7899
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
2023-01-27 12:21:41 +00:00
..
derivation.rs feat(tvix/cli): add helper for populating derivation inputs 2023-01-27 12:21:41 +00:00
errors.rs feat(tvix/cli): add errors module with drv construction errors 2023-01-20 15:39:51 +00:00
known_paths.rs refactor(tvix/cli): consistently assert type unity in known_paths 2023-01-17 10:45:09 +00:00
main.rs feat(tvix/cli): add helper for populating derivation outputs 2023-01-27 12:21:41 +00:00
nix_compat.rs fix(tvix/cli): correctly trim cppnix output in NixCompatIO 2023-01-26 10:29:55 +00:00
refscan.rs refactor(tvix/cli): reference scanner owns all the strings 2023-01-17 10:31:42 +00:00