aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/nixversion-fake.md
blob: 6e42b2bd2229542a9c30d40f1400e14878cfedbd (plain)
1
2
3
4
5
6
7
8
9
10
11
---
synopsis: "`builtins.nixVersion` now returns a fixed value \"2.18.3-lix\""
cls: 558
---

`builtins.nixVersion` now returns a fixed value `"2.18.3-lix"`. 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.