Files
lix/lix/libexpr/builtin-constants/nixVersion.md
T
eldritch horrorsandjade b0d7a81613 fix tooling after include reorganization
clangd broke because it can't look through symlinks. compile_commands
manipulation does not fix it, clangd configuration does not fix it, a
vfs overlay does not fix it, and while a combination of those can fix
it with a bind mount in place that's just too cursed to even consider

clangd bug: https://github.com/llvm/llvm-project/issues/116877

Change-Id: I8e3e8489548eb3a7aa65ac9d12a5ec8abf814aec
2024-11-19 22:55:32 +00:00

500 B

name, type, constructorArgs
name type constructorArgs
nixVersion string
"2.18.3-lix"

Legacy version of Nix. Always returns "2.18.3-lix" on Lix.

Code in the Nix language should use other means of feature detection like detecting the presence of builtins, rather than trying to find the version of the Nix implementation, as there may be other Nix implementations with different feature combinations.

If the feature you want to write compatibility code for cannot be detected by any means, please file a Lix bug.