lol

passage: add additional deps to wrapper

I realized that passage won't work properly in e.g. systemd units as
these don't have `/run/current-system/sw/bin` inside their `PATH` and
thus globally installed things like `coreutils` are not available there.

Added the following tools now:

* `coreutils` for `base64` & `shred` (most notably `passage show`).
* `wl-clipboard` for copying things to the clipboard on Wayland (most
notable `passage show -c`).
* `gnused` for `sed` (most notably `passage show`).
* `gnugrep` for `grep` (for `passage grep`).
* `findutils` for `find` (most notably `mv`/`cp` - used in
`reencrypt_path()`).

Decided against adding stuff like `feh`/`gm` for showing a QR code.
These are optional and the script falls back to printing the QR code on
CLI.

+18 -1
+18 -1
pkgs/tools/security/passage/default.nix
··· 5 5 , substituteAll 6 6 , age 7 7 , getopt 8 + , coreutils 9 + , findutils 10 + , gnugrep 11 + , gnused 12 + , qrencode ? null 13 + , wl-clipboard ? null 8 14 , git ? null 9 15 , xclip ? null 10 16 # Used to pretty-print list of all stored passwords, but is not needed to fetch ··· 32 38 33 39 nativeBuildInputs = [ makeBinaryWrapper ]; 34 40 35 - extraPath = lib.makeBinPath [ age git xclip tree ]; 41 + extraPath = lib.makeBinPath [ 42 + age 43 + coreutils 44 + findutils 45 + git 46 + gnugrep 47 + gnused 48 + qrencode 49 + tree 50 + wl-clipboard 51 + xclip 52 + ]; 36 53 37 54 # Using $0 is bad, it causes --help to mention ".passage-wrapped". 38 55 postInstall = ''