Uutils: Difference between revisions

Adding a warning that uutils currently break nixos rebuild
Line 37: Line 37:
To do a systemwide replacement of gnu utils with uutils you can use system.replaceDependencies.  
To do a systemwide replacement of gnu utils with uutils you can use system.replaceDependencies.  


''Warning: as of February 2026 this seems to break nixos-rebuild, as uutils mv uses an interactive prompt where coreutils don't''  
''Warning: as of February 2026 this seems to break nixos-rebuild, as uutils mv uses an interactive prompt where coreutils don't ([https://github.com/uutils/coreutils/issues/11321 uutils/coreutils#11321])''  


It should be noted that the name of the dependency is hardcoded in the binaries, therefore the name of the replacing dependency needs to have exactly the same length as the name of the source dependency. To do this declaratively this snippet should be added to your configs:
It should be noted that the name of the dependency is hardcoded in the binaries, therefore the name of the replacing dependency needs to have exactly the same length as the name of the source dependency. To do this declaratively this snippet should be added to your configs: