about summary refs log tree commit diff
path: root/tvix/cli/src/known_paths.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-02-02T10·32+0300
committertazjin <tazjin@tvl.su>2023-02-02T17·50+0000
commite6235e2932cc76b18fe8cc8acf209c5fe2e8b79f (patch)
tree15994deb09f3e33bec566dd2bc2f994433179882 /tvix/cli/src/known_paths.rs
parent9d6f29a72b3b466dd697c2eaa97f9a41b767fdff (diff)
feat(tvix/cli): cache imported paths in NixCompatIO r/5826
Creates a cache of imported literal files (e.g.
`./default-builder.sh`) which avoids shelling out to Nix for each
instance of the same file.

Note that a better way to tackle this is to create memoizable thunks
for these expressions in the compiler, but we are lacking a little bit
of infrastructure for that at the moment.

Change-Id: Ibc062b20d81e97dd3986e734d225a744e1779fe7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8015
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/cli/src/known_paths.rs')
0 files changed, 0 insertions, 0 deletions