about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tvix/docs/src/TODO.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/tvix/docs/src/TODO.md b/tvix/docs/src/TODO.md
index 1f020e58c913..d667a6540e53 100644
--- a/tvix/docs/src/TODO.md
+++ b/tvix/docs/src/TODO.md
@@ -115,6 +115,15 @@ Some more fetcher-related builtins need work:
  - `fetchTree` (hairy, seems there's no proper spec and the URL syntax seems
    subject to change/underdocumented)
 
+### `builtins.path` roundtrip for flat
+`builtins.path` currently uses `filtered_ingest` also for the non-recursive
+case, then reads through the blob contents again to get the sha256.
+
+We should take care of assembling the root node on our own, and pipe the data
+through sha256 too (via `InspectReader`, see `glue/fetcher` for an example).
+
+This avoids some roundtrips, and is probably faster.
+
 ### Derivation -> Build
 While we have some support for `structuredAttrs` and `fetchClosure` (at least
 enough to calculate output hashes, aka produce identical ATerm), the code