For patch-shebangs to work we need perl to be listed as a build input because it will run on the target system, not the build one.
Fixes #46476
/cc @dtzWill
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 done:
- built on NixOS
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parallel -h` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parallel --help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parallel -V` and found version 20180222
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parallel --version` and found version 20180222
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/sql -V` and found version 20180222
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/sql --version` and found version 20180222
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/niceload -h` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/niceload --help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/niceload -V` and found version 20180222
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/niceload --version` and found version 20180222
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parcat -h` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parcat --help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parcat help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parset -h` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parset --help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/parset help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel -h` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel --help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel.bash -h` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel.bash --help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel.bash help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel.sh -h` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel.sh --help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/env_parallel.sh help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/.parallel-wrapped -h` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/.parallel-wrapped --help` got 0 exit code
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/.parallel-wrapped -V` and found version 20180222
- ran `/nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222/bin/.parallel-wrapped --version` and found version 20180222
- found 20180222 with grep in /nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222
- found 20180222 in filename of file in /nix/store/yianx0n1hidxg0x1wkra3h6bi4gir88l-parallel-20180222
(My OCD kicked in today...)
Remove repeated package names, capitalize first word, remove trailing
periods and move overlong descriptions to longDescription.
I also simplified some descriptions as well, when they were particularly
long or technical, often based on Arch Linux' package descriptions.
I've tried to stay away from generated expressions (and I think I
succeeded).
Some specifics worth mentioning:
* cron, has "Vixie Cron" in its description. The "Vixie" part is not
mentioned anywhere else. I kept it in a parenthesis at the end of the
description.
* ctags description started with "Exuberant Ctags ...", and the
"exuberant" part is not mentioned elsewhere. Kept it in a parenthesis
at the end of description.
* nix has the description "The Nix Deployment System". Since that
doesn't really say much what it is/does (especially after removing
the package name!), I changed that to "Powerful package manager that
makes package management reliable and reproducible" (borrowed from
nixos.org).
* Tons of "GNU Foo, Foo is a [the important bits]" descriptions
is changed to just [the important bits]. If the package name doesn't
contain GNU I don't think it's needed to say it in the description
either.