# Temporary hack to let Nixpkgs forbid internal use of `lib.fileset`
# until <https://github.com/NixOS/nix/issues/11503> is fixed.
__allowFileset ? true,
The issue was fixed 16 months ago. Shouldn’t we remove this “temporary hack”?
Realistically, the min version is about the language semantics - not the actual implementation. Nix < 2.28 is unsupported, CI doesn’t check against it and nobody will be actually using it, unless they are willing to actually backport security fixes (some stable fedora might be stuck this way).
Technically, there’s builtins.langVersion if you want to check language semantics. So I would say that builtins.nixVersion is specifically about implementation.
And atm, we assert in nixpkgs that nixVersion is at least “2.18”.
We would need to bump required nixVersion to “2.27”. I guess that requires coordinating with all distros’ nix package maintainers? I don’t know if there’s some place of contact for that? And who can make a decision of bumping minimal nixVersion in nixpkgs?
The nixVersion is irrelevant because Lix hardcodes it to 2.18. IMO we can just ignore this, bug has been fixed and the immediate fire has been put out and we can just start using the library – installer tests won’t blow up. All supported nix/lix versions now behave sanely under chroot stores.