about summary refs log tree commit diff
path: root/tvix/build/protos
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/build/protos')
-rw-r--r--tvix/build/protos/build.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/tvix/build/protos/build.proto b/tvix/build/protos/build.proto
index e007ce968a7f..f6c62b877431 100644
--- a/tvix/build/protos/build.proto
+++ b/tvix/build/protos/build.proto
@@ -122,6 +122,16 @@ message BuildRequest {
     bool provide_bin_sh = 5;
   }
 
+  // Additional (small) files and their contents that should be placed into the
+  // build environment, but outside inputs_dir.
+  // Used for passAsFile and structuredAttrs in Nix.
+  repeated AdditionalFile additional_files = 9;
+
+  message AdditionalFile {
+    string path = 1;
+    bytes contents = 2;
+  }
+
   // TODO: allow describing something like "preferLocal", to influence composition?
 }