nixpkgs/pkgs/applications/misc/visidata
Andrew Kvalheim 3c7cb614f1 visidata: add runtime dependency of clipboard commands
VisiData’s system clipboard commands—

  - Edit → Copy → to system clipboard → …
  - Edit → Paste → from system clipboard → …

—execute subprocesses defined by configuration options:

  - options.clipboard_copy_cmd
  - options.clipboard_paste_cmd

On Linux, these options default to using `xclip`:

  - https://github.com/saulpw/visidata/blob/v2.8/visidata/clipboard.py#L11-L22

Without it, the system clipboard commands fail with:

    FileNotFoundError: [Errno 2] No such file or directory: 'xclip'
2022-07-20 15:02:16 -07:00
..
default.nix visidata: add runtime dependency of clipboard commands 2022-07-20 15:02:16 -07:00