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

gstqt5
Pierre Bourdon 2020-06-14 04:56:50 +02:00 committed by Matthieu Coudron
parent 33bc279247
commit 7198d973c1
1 changed files with 3 additions and 0 deletions

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;