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
__curPosandbuiltins.filterSourceare implemented by C++ Nix 2.3.sterni at 2023-12-12T12·37+00
We will have to implement
filterSourceeventually since it is quite useful and heavily used in downstream from nixpkgs projects (among themdepot). For__curPoswe can go the path we've gone withbuiltins.unsafeGetAttrPosfor now at least.sterni at 2023-12-12T12·38+00