diff options
author | ckie <git-525ff67@ckie.dev> | 2021-11-27 15:18:05 +0200 |
---|---|---|
committer | ckie <git-525ff67@ckie.dev> | 2021-11-27 15:18:05 +0200 |
commit | c249f14bf8249246eacf342225996903acf5e1ef (patch) | |
tree | 0d9d424a9c6429be290624bf3640a683b60cbd66 /pkgs/applications/networking/sniffers | |
parent | f584ae375075fef3b635a3d4c16003c322173e3d (diff) |
wireshark: add wrapGAppsHook fixing open/save GUI
Diffstat (limited to 'pkgs/applications/networking/sniffers')
-rw-r--r-- | pkgs/applications/networking/sniffers/wireshark/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix index 50a28b5998eb7..2efcf2033c36f 100644 --- a/pkgs/applications/networking/sniffers/wireshark/default.nix +++ b/pkgs/applications/networking/sniffers/wireshark/default.nix @@ -1,7 +1,7 @@ { lib, stdenv, fetchurl, pkg-config, pcre, perl, flex, bison, gettext, libpcap, libnl, c-ares , gnutls, libgcrypt, libgpg-error, geoip, openssl, lua5, python3, libcap, glib , libssh, nghttp2, zlib, cmake, makeWrapper -, withQt ? true, qt5 ? null +, withQt ? true, qt5 ? null, wrapGAppsHook ? null , ApplicationServices, SystemConfiguration, gmp }: @@ -33,7 +33,9 @@ in stdenv.mkDerivation { # Avoid referencing -dev paths because of debug assertions. NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ]; - nativeBuildInputs = [ bison cmake flex makeWrapper pkg-config ] ++ optional withQt qt5.wrapQtAppsHook; + nativeBuildInputs = [ + bison cmake flex makeWrapper pkg-config + ] ++ optionals withQt [ qt5.wrapQtAppsHook wrapGAppsHook ]; buildInputs = [ gettext pcre perl libpcap lua5 libssh nghttp2 openssl libgcrypt |