Jump to content

Uutils: Difference between revisions

From Official NixOS Wiki
RossSmyth (talk | contribs)
→Installation: Don't replaceDependencies, gnu coreutils is fine and uutils is not ready for that.
RossSmyth (talk | contribs)
add diffutils and findutils
 
(One intermediate revision by the same user not shown)
Line 36: Line 36:
== Installation ==
== Installation ==
To use uutils as your system coreutils, just add it to PATH with high priority. {{File|3={ pkgs, ... }: {
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) ];
   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}}
}|name=/etc/nixos/configuration.nix|lang=nix}}


Attempting to replace all with a hacky replaceDependencies solution is not recommended or will be supported in the case of bug.
Attempting to replace all with a hacky replaceDependencies solution is not recommended or will be supported.
[[Category:CLI Applications]]
[[Category:CLI Applications]]
[[Category:Applications]]
[[Category:Applications]]
[[Category:Rust]]
[[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

Nixpkgs - uutils-coreutils

If you want a prefixed package for some reason, use uutils-coreutils instead

Findutils

☶︎
This section needs to be expanded. Please consult the pedia article metapage for guidelines on contributing.

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

Nixpkgs - uutils-findutils

Diffutils

☶︎
This section needs to be expanded. Please consult the pedia article metapage for guidelines on contributing.

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

Nixpkgs - uutils-diffutils

Installation

To use uutils as your system coreutils, just add it to PATH with high priority.

❄︎ /etc/nixos/configuration.nix
{ 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.