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

Well obviously, if you set lib.hiPrio, uutils will get chosen, which was my point. Otherwise it’s pure luck.

But how does one set lib.hiPrio?

call lib.hiPro on the desired derivation before installing it.

  environment.systemPackages = [
    (lib.hiPrio pkgs.uutils-coreutils-noprefix)
  ];
1 Like

I also tried system.replaceDependencies but that’s failing during the build.

Ubuntu is now also switching to uutils-coreutils. :wink:
See Carefully But Purposefully Oxidising Ubuntu - Project Discussion - Ubuntu Community Hub.

1 Like

I don’t dare to replace it on all systems, I just wanted to try it on a few desktop systems. Currently I use some shell aliases to just use the new tooling in the terminal.

But I guess Ubuntu trying to use it is a good thing, because they will see that a few issues will be fixed.