tvl-depot/tvix/glue/src/tests/nix_tests
Ryan Lahfa e7af8e0d62 feat(tvix/eval): implement appendContext
`appendContext s ctx` will just append a user-crafted context attrs to `s`.

The most important part of this builtin is to perform all the relevant invariant validations
to avoid letting the user craft invalid contexts which can never be built, e.g. invalid store paths,
inexistent derivations, etc.

This version is incomplete and full of TODOs, but passes all the Nix's
context strings tests, so we turn them on.

Change-Id: I625dc5e7c4f5b784f078b390f04b0ee5a8d65a7c
Signed-off-by: Ryan Lahfa <tvl@lahfa.xyz>
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11263
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-04-04 17:24:26 +00:00
..
eval-okay-context-introspection.exp feat(tvix/eval): implement appendContext 2024-04-04 17:24:26 +00:00
eval-okay-context-introspection.nix feat(tvix/eval): implement appendContext 2024-04-04 17:24:26 +00:00
eval-okay-context.exp feat(tvix/glue): introduce test suite for context strings 2024-01-17 17:31:07 +00:00
eval-okay-context.nix feat(tvix/glue): introduce test suite for context strings 2024-01-17 17:31:07 +00:00