tvl-depot/tvix/eval/docs
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
..
abandoned docs(tvix/eval): document abandoned thread-local vm 2022-11-08 08:41:04 +00:00
build-references.md docs(tvix/eval): why context strings now 2023-12-29 21:55:58 +00:00
builtins.md feat(tvix/eval): implement appendContext 2024-04-04 17:24:26 +00:00
catchable-errors.md docs(tvix/eval): notes on the implementation of catchable errors 2024-02-21 13:32:38 +00:00
known-optimisation-potential.md docs(tvix/eval): C++ Nix now has deduplicated inherit (from) 2024-03-12 21:23:32 +00:00
language-issues.md chore(tvix/eval): fix markdown labeled link syntax 2023-06-15 19:40:08 +00:00
opcodes-attrsets.md docs(tvix/eval): add design documentation for attrset opcodes 2022-08-13 15:31:50 +00:00
recursive-attrs.md docs(tvix/eval): note C++ implementation details for C++ Nix 2022-09-18 15:01:34 +00:00
vm-loop.md docs(tvix/eval): suggested layout adjustment to VM loop diagram 2023-03-14 09:56:28 +00:00