about summary refs log tree commit diff
path: root/tvix/nix_cli
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-06-16T11·49+0300
committerclbot <clbot@tvl.fyi>2023-06-16T12·05+0000
commit3e915af8bb2ef3f9714a3697ad9ac07ac192eaad (patch)
tree78f1f7b600f99c02310b062244139995e22eed12 /tvix/nix_cli
parent80403d56b5a1c94343b8c6b1acb7e8d23e75b9c1 (diff)
feat(tvix/serde): add a function to with custom configuration r/6324
This adds a `from_str_with_config` function which takes a
user-supplied closure that sets additional settings on the
`tvix_eval::Evaluation`.

Note that users can not set `strict = false`, but other settings are
not restricted.

This solves b/262.

Change-Id: Ice184400b843cfbcaa5b6fe251ced12b6815e085
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8808
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/nix_cli')
0 files changed, 0 insertions, 0 deletions