docs(tvix): mention langVersion >= 5 check in nixpkgs

Change-Id: I7aae900012e901fa4d886b1a4bf0657d593e4983
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8771
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
sterni 2023-06-14 12:47:15 +02:00 committed by clbot
parent 3d3890ebcd
commit 0128323c55

View file

@ -44,8 +44,9 @@ Eelco Dolstra writes as to what changed:
> change as a build.cc (i.e. daemon) change, but we don't really have a way to > change as a build.cc (i.e. daemon) change, but we don't really have a way to
> express that... > express that...
Probably `builtins.nixVersion` (which was added in version 1) should have been Maybe `builtins.nixVersion` (which was added in version 1) should have been
used instead. used instead. In any case, the [only `langVersion` check][nixpkgs-langVersion-5]
in nixpkgs verifies a lower bound of 5.
## 6 ## 6
@ -58,3 +59,4 @@ Nix version 6 added support for [comparing two lists][list-comparison].
[float]: https://github.com/nixos/nix/commit/14ebde52893263930cdcde1406cc91cc5c42556f [float]: https://github.com/nixos/nix/commit/14ebde52893263930cdcde1406cc91cc5c42556f
[langVersion-5]: https://github.com/nixos/nix/commit/8191992c83bf4387b03c5fdaba818dc2b520462d [langVersion-5]: https://github.com/nixos/nix/commit/8191992c83bf4387b03c5fdaba818dc2b520462d
[list-comparison]: https://github.com/nixos/nix/commit/09471d2680292af48b2788108de56a8da755d661 [list-comparison]: https://github.com/nixos/nix/commit/09471d2680292af48b2788108de56a8da755d661
[nixpkgs-langVersion-5]: https://github.com/NixOS/nixpkgs/blob/d7ac3423d321b8b145ccdd1aed9dfdb280f5e391/pkgs/build-support/closure-info.nix#L11