about summary refs log tree commit diff
path: root/tvix/nix-compat/src/derivation/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src/derivation/mod.rs')
-rw-r--r--tvix/nix-compat/src/derivation/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/nix-compat/src/derivation/mod.rs b/tvix/nix-compat/src/derivation/mod.rs
index 9b1db0f68e8b..5a59d640d65d 100644
--- a/tvix/nix-compat/src/derivation/mod.rs
+++ b/tvix/nix-compat/src/derivation/mod.rs
@@ -32,12 +32,15 @@ pub struct Derivation {
     #[serde(rename = "env")]
     pub environment: BTreeMap<String, BString>,
 
+    /// Map from drv path to output names used from this derivation.
     #[serde(rename = "inputDrvs")]
     pub input_derivations: BTreeMap<String, BTreeSet<String>>,
 
+    /// Plain store paths of additional inputs.
     #[serde(rename = "inputSrcs")]
     pub input_sources: BTreeSet<String>,
 
+    /// Maps output names to Output.
     pub outputs: BTreeMap<String, Output>,
 
     pub system: String,