about summary refs log tree commit diff
path: root/lisp
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-12-12T18·33+0300
committertazjin <tazjin@tvl.su>2022-12-21T22·59+0000
commit947a56c4b6c5d5ed4f25f229f5de6afde564bbf9 (patch)
treed078dba7958ebea8fbec20a2150c530d3291e322 /lisp
parent4cb9ada0df188ae8484965749a30a2a699a3102e (diff)
feat(tvix/eval): builtins.storeDir r/5465
Returns the store directory through EvalIO::store_dir.

Note that this is _optional_ in Tvix, as an evaluation can occur in a
context where there simply is no store directory. In those contexts,
`builtins.storeDir` returns `null` in Tvix.

This would only happen in contexts like Tvixbolt (or completely
unrelated use-cases) in practice.

Co-Authored-By: Vincent Ambo <tazjin@tvl.su>
Change-Id: I5a752c7e89b2f75bd7efb082dbfa5b25e3b1ff3b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7452
Autosubmit: Adam Joseph <adam@westernsemico.com>
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'lisp')
0 files changed, 0 insertions, 0 deletions