wireshark: set mainProgram

It'd try to run wireshark-qt or wireshark-cli otherwise.

authored by Atemu and committed by Matthieu Coudron cc73a46e 0e91b031

+1
+1
pkgs/applications/networking/sniffers/wireshark/default.nix
··· 104 105 platforms = platforms.linux ++ platforms.darwin; 106 maintainers = with maintainers; [ bjornfor fpletz ]; 107 }; 108 }
··· 104 105 platforms = platforms.linux ++ platforms.darwin; 106 maintainers = with maintainers; [ bjornfor fpletz ]; 107 + mainProgram = if withQt then "wireshark" else "tshark"; 108 }; 109 }