diff options
Diffstat (limited to 'doc/manual/rl-next/nixversion-fake.md')
-rw-r--r-- | doc/manual/rl-next/nixversion-fake.md | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/manual/rl-next/nixversion-fake.md b/doc/manual/rl-next/nixversion-fake.md deleted file mode 100644 index 725b8e609..000000000 --- a/doc/manual/rl-next/nixversion-fake.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -synopsis: "`builtins.nixVersion` and `builtins.langVersion` return fixed values" -cls: [558, 1144] -credits: jade -category: Breaking Changes ---- - -`builtins.nixVersion` now returns a fixed value `"2.18.3-lix"`. - -`builtins.langVersion` returns a fixed value `6`, matching CppNix 2.18. - -This prevents feature detection assuming that features that exist in Nix -post-Lix-branch-off might exist, even though the Lix version is greater than -the Nix version. - -In the future, check for builtins for feature detection. If a feature cannot be -detected by *those* means, please file a Lix bug. |