diff options
author | 7c6f434c <7c6f434c@mail.ru> | 2022-07-26 05:18:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 05:18:41 +0000 |
commit | 30a1db43d3bc8d5b3b9533e922fbc5340f8b92ef (patch) | |
tree | e4f3b9141fc0e77cd16e8dc7f5f8eb7eb889157c | |
parent | 702c2b914c1104db25eccd90a805c10cce77e538 (diff) | |
parent | 3c7cb614f11ff6ecb7e840e57e33437bcea4385e (diff) |
Merge pull request #182011 from AndrewKvalheim/visidata/xclip
visidata: add runtime dependency of clipboard commands
-rw-r--r-- | pkgs/applications/misc/visidata/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/misc/visidata/default.nix b/pkgs/applications/misc/visidata/default.nix index 2b688b8425bb..336a0821df1e 100644 --- a/pkgs/applications/misc/visidata/default.nix +++ b/pkgs/applications/misc/visidata/default.nix @@ -22,6 +22,7 @@ , setuptools , git , withPcap ? true, dpkt, dnslib +, withXclip ? stdenv.isLinux, xclip }: buildPythonApplication rec { pname = "visidata"; @@ -63,7 +64,8 @@ buildPythonApplication rec { zstandard odfpy setuptools - ] ++ lib.optionals withPcap [ dpkt dnslib ]; + ] ++ lib.optionals withPcap [ dpkt dnslib ] + ++ lib.optional withXclip xclip; checkInputs = [ git |