wireshark: compile with QT_NO_DEBUG to avoid depending on qt*-dev

This commit is contained in:
Pierre Bourdon 2020-06-14 04:56:50 +02:00 committed by Matthieu Coudron
parent 33bc279247
commit 7198d973c1

View File

@ -31,6 +31,9 @@ in stdenv.mkDerivation {
"-DCMAKE_INSTALL_LIBDIR=lib"
];
# Avoid referencing -dev paths because of debug assertions.
NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ];
nativeBuildInputs = [
bison cmake flex pkgconfig
] ++ optional withQt qt5.wrapQtAppsHook;