about summary refs log tree commit diff
path: root/nix/dependency-analyzer
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-01-22T22·12+0300
committertazjin <tazjin@tvl.su>2023-01-27T12·21+0000
commitfdca93d6edc88a5979c536bf26553bdfc1f037b5 (patch)
tree39898f0c6dfea83931a9e554f7de5ecb65f52365 /nix/dependency-analyzer
parentc6811f0cea0b9aad5bc188fd29d6425e145847e8 (diff)
feat(tvix/cli): add helper for populating derivation inputs r/5765
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>
Diffstat (limited to 'nix/dependency-analyzer')
0 files changed, 0 insertions, 0 deletions