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'.
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -h` got 0 exit code
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --help` got 0 exit code
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain help` got 0 exit code
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -V` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --version` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain version` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain -h` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain --help` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/keychain help` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -h` got 0 exit code
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --help` got 0 exit code
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped help` got 0 exit code
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -V` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --version` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped version` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped -h` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped --help` and found version 2.8.5
- ran `/nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5/bin/.keychain-wrapped help` and found version 2.8.5
- found 2.8.5 with grep in /nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5
- found 2.8.5 in filename of file in /nix/store/455vx6ibapfgpy0n34j3y0qpd53v2zn2-keychain-2.8.5
cc "@sigma"
* pkgs: refactor needless quoting of homepage meta attribute
A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.
* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit
* Fixed some instances
This change provides support for Darwin as a platform by making the
`procps` parameter optional. If the platform is linux, then
`procps`/bin is added to the wrapped keychain's PATH, else not.
fixup shebang - build was not running fixupPhase, and shebang was pointing to
/bin/sh. On a system where /bin/sh links to dash, this results in errors:
/nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped: 59: /nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped: shopt: not found
/nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped: 686: /nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped: Syntax error: "(" unexpected (expecting ")")
use upstream builder - the include Makefile uses perl to generate a manpage and
insert the same text into the keychain script for '--help' output, which was
otherwise missing:
$ keychain --help
* keychain 2.8.0 ~ http://www.funtoo.org
[snip]
INSERT_POD_OUTPUT_HERE
install manpage - self explanatory