about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-let-useful-plain-inherit.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-10-02T17·15+0300
committertazjin <tazjin@tvl.su>2022-10-04T08·03+0000
commit89dc26cece0595009c34a41a5574107833750f03 (patch)
tree02600ee0bfabe40ac1139e275cc6a124c85d61d6 /tvix/eval/src/tests/tvix_tests/eval-okay-let-useful-plain-inherit.nix
parentf0179c92d3248667b7f037de91c6b9eb737a40d2 (diff)
feat(tvix/eval): implement `builtins.currentTime` r/5027
Returns time since epoch in seconds.

This has a slight behaviour difference from Nix, in that we don't pin
the time between REPL entries (Nix pins it for the program lifetime),
but this is probably inconsequential as long as it is pinned during an
evaluation.

Change-Id: I010c02e93097a209d8ad69e278397c7e30e54c86
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6846
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-let-useful-plain-inherit.nix')
0 files changed, 0 insertions, 0 deletions