tvl-depot/tvix/eval/src
Vincent Ambo 7fe1331570 feat(tvix/eval): implement tvix's user-agent, err, nixVersion
nixpkgs has hardcoded references to Nix versions, we need to provide
it with something that looks like a Nix version while actually being a
Tvix version.

For now, we do this by stealing a trick out of the browser book and
constructing a version that looks like a Nix version to Nix, but like
a Tvix version to people who know what they are looking for.

Nevermind that we don't actually have any kind of versioning for
Tvix (yet?), other than depot revisions.

Change-Id: I7ce8079dd8164a2079891d38e707f09a45f0bbc1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6858
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2022-10-05 13:07:55 +00:00
..
builtins feat(tvix/eval): implement tvix's user-agent, err, nixVersion 2022-10-05 13:07:55 +00:00
compiler refactor(tvix/eval): remove unnecessary clones in compiler 2022-10-04 21:27:30 +00:00
tests feat(tvix/eval): implement tvix's user-agent, err, nixVersion 2022-10-05 13:07:55 +00:00
value refactor(tvix/eval): implement IntoIterator for NixList 2022-10-03 07:53:21 +00:00
chunk.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00
errors.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00
eval.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00
lib.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00
main.rs feat(tvix/eval): use fancy error formatting in REPL 2022-10-04 21:04:03 +00:00
observer.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00
opcode.rs chore(tvix/eval): remove existing nested key implementation 2022-09-29 11:47:47 +00:00
properties.rs refactor(tvix/eval): Don't (ab)use PartialEq for Nix equality 2022-09-18 22:03:41 +00:00
source.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00
test_utils.rs test(tvix/eval): Add proof-of-concept test for Chunk 2022-09-18 17:55:06 +00:00
upvalues.rs refactor(tvix/eval): Don't (ab)use PartialEq for Nix equality 2022-09-18 22:03:41 +00:00
vm.rs refactor(tvix/eval): split observer traits in two 2022-10-04 21:27:30 +00:00
warnings.rs refactor(tvix/eval): introduce source::SourceCode type 2022-10-05 10:29:47 +00:00