diff options
author | Vincent Ambo <mail@tazj.in> | 2022-10-04T15·40+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-10-05T13·07+0000 |
commit | 7fe1331570918e9eae2a9868497afba7f61ad742 (patch) | |
tree | 68e2b7f82bdc60c9a3e2f2855b90c94994320712 /tvix/eval/src/upvalues.rs | |
parent | 8f2c67d5dd9fabc007fdf4e15dd1dfaf829de38f (diff) |
feat(tvix/eval): implement tvix's user-agent, err, nixVersion r/5038
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
Diffstat (limited to 'tvix/eval/src/upvalues.rs')
0 files changed, 0 insertions, 0 deletions