In particular i think yarn2nix
has a option to copy the generated node_modules
Thanks for that, and, holy cow? Yarn has Plug’n’play which overrides Node’s module strategy with a better one?
@edolstra I’d still be curious if I’m missing something here because we had this conversation a while ago and I still think that this is potentially problematic
You’re right it’s impure, but that’s also true for any new builtin function (since you can write if builtins ? foo then ...
). In general we don’t have a good way to specify the minimal Nix version dependency.
@edolstra it’s not just impure, it’s also problematic UX IMHO: if I see an “attribute […] missing”-error I suspect a typo first, but not that an experimental feature is not enabled.
In general we don’t have a good way to specify the minimal Nix version dependency.
That’s true, but I don’t think that we’d have to make this even worse, right?