about summary refs log tree commit diff
path: root/tvix/cli/src/main.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-01-22T22·00+0300
committertazjin <tazjin@tvl.su>2023-01-27T12·21+0000
commitc6811f0cea0b9aad5bc188fd29d6425e145847e8 (patch)
tree83a8d78b506ccd28a4ed68882c0c5b6c2aa7a7e7 /tvix/cli/src/main.rs
parent1028aff105dfda292698d023594f2ac8498c0851 (diff)
feat(tvix/cli): add helper for populating derivation outputs r/5764
Adds a small helper function which uses a Nix value supplied to
`builtins.derivation{Strict}` to populate the `outputs` field of the
`Derivation` struct.

Change-Id: Iccc7a4f293b3d913140aed576a573a8992241e46
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7898
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/cli/src/main.rs')
-rw-r--r--tvix/cli/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/cli/src/main.rs b/tvix/cli/src/main.rs
index 6757044750fe..0150d83bc6b4 100644
--- a/tvix/cli/src/main.rs
+++ b/tvix/cli/src/main.rs
@@ -1,3 +1,4 @@
+mod derivation;
 mod errors;
 mod known_paths;
 mod nix_compat;