aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/nixversion-fake.md
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-03-18 18:26:52 -0700
committerJade Lovelace <lix@jade.fyi>2024-03-18 18:26:52 -0700
commit20b4a97af361695fe7e20eb8584b6900deeae3a5 (patch)
treed18861579608d3de4ebf848ab94cdb719b162ced /doc/manual/rl-next/nixversion-fake.md
parent30233d87f9cd8b450da096bb3c987b912e71931c (diff)
Release notes for builtins.nixVersion change
Change-Id: I72c945cab464d26d73f5594ef0a4bb2184545da4
Diffstat (limited to 'doc/manual/rl-next/nixversion-fake.md')
-rw-r--r--doc/manual/rl-next/nixversion-fake.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/manual/rl-next/nixversion-fake.md b/doc/manual/rl-next/nixversion-fake.md
new file mode 100644
index 000000000..1a97e412c
--- /dev/null
+++ b/doc/manual/rl-next/nixversion-fake.md
@@ -0,0 +1,11 @@
+---
+synopsis: "`builtins.nixVersion` now returns a fixed value \"2.18.3-lix\""
+# prs: cl 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.