about summary refs log tree commit diff
path: root/tvix/cli/src/derivation.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-01-22T22·50+0300
committertazjin <tazjin@tvl.su>2023-01-27T12·21+0000
commitde10a924f2586461d0323cc74b179aa0e8b1d1c4 (patch)
treecb0206ae3bf3ec1c65b8ba010a195836a4dcbf62 /tvix/cli/src/derivation.rs
parent8a9aa018dcf54f00344993c8467610be3442eb8f (diff)
feat(tvix/cli): implement `builtins.derivation` r/5769
This uses the actual upstream Nix code for
`builtins.derivation` (which is not a primop in C++ Nix) to implement
`builtins.derivation` as a wrapper around `builtins.derivationStrict`.

We're doing it this way to ensure that our thunking logic is correct.
An initial Rust-native rewrite (see e.g. cl/7363) is pretty difficult
to debug while there are still other issues to root out, but
eventually we might want to turn this into native code.

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