nixpkgs does not honor its own lib/minver.nix and this breaks tvix
#349
Opened by amjoseph at
nixpkgs uses __curPos and builtins.filterSource, which are not in nix 2.3.
We don't have to implement these, but we do need to turn them into tryEval-catchable errors. This way the few packages that use these monstrosities will simply appear to be broken (good riddance!) rather than busting the entire eval session.
Untrue, both
__curPos
andbuiltins.filterSource
are implemented by C++ Nix 2.3.sterni at 2023-12-12T12·37+00
We will have to implement
filterSource
eventually since it is quite useful and heavily used in downstream from nixpkgs projects (among themdepot
). For__curPos
we can go the path we've gone withbuiltins.unsafeGetAttrPos
for now at least.sterni at 2023-12-12T12·38+00