Uutils: Difference between revisions

Malix (talk | contribs)
Malix (talk | contribs)
m Usage: header name
 
(3 intermediate revisions by 2 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>


=== Usage ===
=== Installation ===
In your configuration file, add the [https://search.nixos.org/packages?show=uutils-coreutils-noprefix <code>uutils-coreutils-noprefix</code>] package in <code>environment.systemsPackages</code>, and give it a high priority in order to avoid potential conflicts with [https://search.nixos.org/packages?show=coreutils-full <code>coreutils-full</code>]
In your configuration file, add the [https://search.nixos.org/packages?show=uutils-coreutils-noprefix <code>uutils-coreutils-noprefix</code>] package in <code>environment.systemsPackages</code>, and give it a high priority in order to avoid potential conflicts with [https://search.nixos.org/packages?show=coreutils-full <code>coreutils-full</code>]
{{File|3={ pkgs, ... }:
{{File|3={ pkgs, ... }:
Line 24: Line 24:
<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>


{{Note|1=This will '''not''' replace [https://search.nixos.org/packages?show=coreutils-full the <code>coreutils-full</code> package], only install it over and giving it higher priority
{{Note|1=This will '''not''' replace [https://search.nixos.org/packages?show=coreutils-full the <code>coreutils-full</code> package], only install it and give it higher priority


Using [https://search.nixos.org/options?show=system.replaceDependencies <code>system.replaceDependencies</code>] instead of [https://search.nixos.org/options?show=environment.systemPackages <code>environment.systemPackages</code>] seems to be a better approach, but it has not been successful yet
Using [https://search.nixos.org/options?show=system.replaceDependencies <code>system.replaceDependencies</code>] instead of [https://search.nixos.org/options?show=environment.systemPackages <code>environment.systemPackages</code>] seems to be a better approach, but it has not been successful yet
Line 45: Line 45:


[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>]
[[Category:CLI_Applications]]
[[Category:Applications]]
[[Category:Rust]]]