wireshark: add wrapGAppsHook fixing open/save GUI

This commit is contained in:
ckie 2021-11-27 15:18:05 +02:00
parent f584ae3750
commit c249f14bf8
No known key found for this signature in database
GPG Key ID: 13E79449C0525215

View File

@ -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