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,6 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, coreutils, openssh, gnupg
|
||||
, perl, procps, gnugrep, gawk, findutils, gnused
|
||||
, withProcps ? stdenv.isLinux }:
|
||||
, perl, procps, gnugrep, gawk, findutils, gnused }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "keychain-${version}";
|
||||
@@ -27,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
--prefix PATH ":" "${gnused}/bin" \
|
||||
--prefix PATH ":" "${findutils}/bin" \
|
||||
--prefix PATH ":" "${gawk}/bin" \
|
||||
${if withProcps then ("--prefix PATH \":\" ${procps}/bin") else ""}
|
||||
--prefix PATH ":" "${procps}/bin"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user