unix-tools: introduce unix-tools.nix
unix-tools.nix has a collection of tools that are commonly installed by default in Unix derivatives. This is intended to provide compatibility between macOS and Linux users. Three Linux-only derivations are provided for compatbility: - procps - utillinux - nettools More tools are also provided. Also: treewide: use unixtools Non-comprehensive replace of Linux-only procps and util-linux with 'unixtools'.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, procps, coreutils, fetchurl, jdk, jre, ant, gettext, which }:
|
||||
{ stdenv, ps, coreutils, fetchurl, jdk, jre, ant, gettext, which }:
|
||||
|
||||
let wrapper = stdenv.mkDerivation rec {
|
||||
name = "wrapper-${version}";
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
-e "s#uname#${coreutils}/bin/uname#" \
|
||||
-e "s#which#${which}/bin/which#" \
|
||||
-e "s#%gettext%#${gettext}/bin/gettext#" \
|
||||
-e "s#/usr/ucb/ps#${procps}/bin/ps#" \
|
||||
-e "s#/usr/ucb/ps#${ps}/bin/ps#" \
|
||||
-e "s#/usr/bin/tr#${coreutils}/bin/tr#" \
|
||||
-e "s#%INSTALL_PATH#$out#" \
|
||||
-e 's#%USER_HOME#$HOME#' \
|
||||
|
||||
Reference in New Issue
Block a user