From 2aaabb709f6828f082672f9fcd4141a859efb778 Mon Sep 17 00:00:00 2001 From: sterni Date: Tue, 20 Jun 2023 14:20:14 +0200 Subject: docs(tvix): update C++ Nix code links for pointer equality Change-Id: Icfd79b36c09607b4183e7378cd3c17f6238297b2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8853 Autosubmit: sterni Tested-by: BuildkiteCI Reviewed-by: flokli --- tvix/docs/value-pointer-equality.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'tvix') diff --git a/tvix/docs/value-pointer-equality.md b/tvix/docs/value-pointer-equality.md index 7b5b49c6bd77..2e5050a822db 100644 --- a/tvix/docs/value-pointer-equality.md +++ b/tvix/docs/value-pointer-equality.md @@ -47,7 +47,8 @@ works in C++ Nix, the only production ready Nix implementation currently availab ## Nix (Pointer) Equality in C++ Nix -TIP: The summary presented here is up-to-date as of 2022-11-23 and was tested with Nix 2.3 and 2.11. +TIP: The summary presented here is up-to-date as of 2023-06-20 and was tested +with Nix 2.3, 2.11 and 2.15. ### `EvalState::eqValues` and `ExprOpEq::eval` @@ -200,9 +201,9 @@ the history of this feature would still be prudent, especially the reason for its original introduction (maybe performance?). [puck-issue]: https://github.com/NixOS/nix/issues/3371 -[eqValues-pointer-eq]: https://github.com/NixOS/nix/blob/05d0892443bbe92a6b6a1ee7b1d37ea05782d918/src/libexpr/eval.cc#L2342-L2350 -[eqValues-function-eq]: https://github.com/NixOS/nix/blob/05d0892443bbe92a6b6a1ee7b1d37ea05782d918/src/libexpr/eval.cc#L2405-L2407 -[ExprOpEq]: https://github.com/NixOS/nix/blob/05d0892443bbe92a6b6a1ee7b1d37ea05782d918/src/libexpr/eval.cc#L1856-L1861 +[eqValues-pointer-eq]: https://github.com/NixOS/nix/blob/3c618c43c6044eda184df235c193877529e951cb/src/libexpr/eval.cc#L2401-L2404 +[eqValues-function-eq]: https://github.com/NixOS/nix/blob/3c618c43c6044eda184df235c193877529e951cb/src/libexpr/eval.cc#L2458-L2460 +[ExprOpEq]: https://github.com/NixOS/nix/blob/3c618c43c6044eda184df235c193877529e951cb/src/libexpr/eval.cc#L1822-L1827 [outlived builderDefs]: https://github.com/NixOS/nixpkgs/issues/4210 -[CompareValues]: https://github.com/NixOS/nix/blob/master/src/libexpr/primops.cc#L536-L574 +[CompareValues]: https://github.com/NixOS/nix/blob/3c618c43c6044eda184df235c193877529e951cb/src/libexpr/primops.cc#L569-L610 [nix-2.5-changelog]: https://nixos.org/manual/nix/stable/release-notes/rl-2.5.html -- cgit 1.4.1