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