Uutils: Difference between revisions
m expand request |
add diffutils and findutils |
||
| (14 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
The [https://uutils.github.io/ Uutils] project reimplements ubiquitous command line utilities in memory-safe Rust | The [https://uutils.github.io/ Uutils] project reimplements ubiquitous command line utilities in memory-safe Rust. | ||
== Coreutils == | == Coreutils == | ||
| Line 14: | Line 14: | ||
<small>For details, see [https://github.com/uutils/coreutils/blob/main/docs/src/extensions.md Uutils Coreutils - Extensions]</small> | <small>For details, see [https://github.com/uutils/coreutils/blob/main/docs/src/extensions.md Uutils Coreutils - Extensions]</small> | ||
[https://search.nixos.org/packages?show=uutils-diffutils Nixpkgs - <code>uutils-coreutils</code>] | |||
<small>If you want a prefixed package for some reason, use [https://search.nixos.org/packages?show=uutils-coreutils <code>uutils-coreutils</code>] instead</small> | |||
<small>If you want a prefixed package for some reason, use [https://search.nixos.org/packages?show=uutils-coreutils <code>uutils-coreutils</code>] instead</small> | |||
== Findutils == | == Findutils == | ||
| Line 39: | Line 33: | ||
[https://search.nixos.org/packages?show=uutils-diffutils Nixpkgs - <code>uutils-diffutils</code>] | [https://search.nixos.org/packages?show=uutils-diffutils Nixpkgs - <code>uutils-diffutils</code>] | ||
== Installation == | |||
To use uutils as your system coreutils, just add it to PATH with high priority. {{File|3={ pkgs, ... }: { | |||
environment.systemPackages = [ | |||
(lib.hiPrio pkgs.uutils-coreutils-noprefix) | |||
(lib.hiPrio pkgs.uutils-diffutils) | |||
(lib.hiPrio pkgs.uutils-findutils) | |||
]; | |||
}|name=/etc/nixos/configuration.nix|lang=nix}} | |||
Attempting to replace all with a hacky replaceDependencies solution is not recommended or will be supported. | |||
[[Category:CLI Applications]] | |||
[[Category:Applications]] | |||
[[Category:Rust]] | |||
Latest revision as of 14:46, 4 November 2026
The Uutils project reimplements ubiquitous command line utilities in memory-safe Rust.
Coreutils
Introduction
Uutils Coreutils is a cross-platform memory-safe reimplementation of GNU Coreutils in Rust
While all programs have been implemented, some options might be missing or different behavior might be experienced
For details, see Uutils Coreutils - GNU Coreutils Test Coverage
Though the main goal of the project is compatibility, Uutils Coreutils supports a few features that are not supported by GNU Coreutils
For details, see Uutils Coreutils - Extensions
If you want a prefixed package for some reason, use uutils-coreutils instead
Findutils
Uutils Findutils is a cross-platform memory-safe reimplementation of GNU findutils: xargs, find, locate and updatedb
It aims to be a drop-in replacement of the original GNU findutils commands
Diffutils
Uutils Diffutils is is a cross-platform memory-safe reimplementation of GNU findutils: diff, cmp, diff3 and sdiff
It aims to be a drop-in replacement of the original GNU diffutils commands
Installation
To use uutils as your system coreutils, just add it to PATH with high priority.
{ pkgs, ... }: {
environment.systemPackages = [
(lib.hiPrio pkgs.uutils-coreutils-noprefix)
(lib.hiPrio pkgs.uutils-diffutils)
(lib.hiPrio pkgs.uutils-findutils)
];
}
Attempting to replace all with a hacky replaceDependencies solution is not recommended or will be supported.