diff options
author | Atemu <atemu.main@gmail.com> | 2021-05-23 14:54:17 +0200 |
---|---|---|
committer | Matthieu Coudron <teto@users.noreply.github.com> | 2021-05-25 03:12:11 +0200 |
commit | cc73a46e9a7c13c21dc4baa061fb0d4152b6fc52 (patch) | |
tree | 7a87f16b857b5487f0017306693b04278f317877 /pkgs/applications/networking/sniffers | |
parent | 0e91b031f6558a7e8623ccacedfedfa458531ed6 (diff) |
wireshark: set mainProgram
It'd try to run wireshark-qt or wireshark-cli otherwise.
Diffstat (limited to 'pkgs/applications/networking/sniffers')
-rw-r--r-- | pkgs/applications/networking/sniffers/wireshark/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix index 230bb2d4fe41f..c5a38fd25001b 100644 --- a/pkgs/applications/networking/sniffers/wireshark/default.nix +++ b/pkgs/applications/networking/sniffers/wireshark/default.nix @@ -104,5 +104,6 @@ in stdenv.mkDerivation { platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ bjornfor fpletz ]; + mainProgram = if withQt then "wireshark" else "tshark"; }; } |