How to use uutils-coreutils instead of the builtin coreutils?

I just crafted the dynamic alternative:

I haven’t focused on performance yet

Let me know if anyone can find something better

I think a solution like this is close to what’s the best alternative possible without a dedicated NixOS option to chose which coreutils (and such) to use

Until then, we will always be bottlenecked by replaceDependencies

An issue about creating a NixOS module for uutils-coreutils has already been opened :

It has been closed 1 year ago after a comment from @waffle8946 (Module Request: nixos/modules/programs/uutils-coreutils.nix · Issue #402632 · NixOS/nixpkgs · GitHub)

I didn’t close anything, don’t blame me or tag me for that.

1 Like

I did not say you closed that issue, but that this issue was closed after your comment (which contained some reasons for it being closed, which are relevant for this discourse thread)

The comment just links back here… and the code is also duplicated from my comment here.

Which is why I said it’s relevant to this thread, but I can remove that part and also delete the present comment if you really don’t want to be mentioned

What I want anyway is to make replacing GNU Coreutils and such with Uutils alternatives possible through NixOS options (and without replaceDependencies)

I’ll probably contribute to that soon enough