wireshark: en- & disable Gtk/Qt separately
This should also fix the wireshark-cli variant
This commit is contained in:
parent
c77e0539e0
commit
969d61dd42
|
@ -23,7 +23,10 @@ in stdenv.mkDerivation {
|
|||
sha256 = "0bpiby916k3k8bm7q8b1dflva6zs0a4ircskrck0d538dfcrb50q";
|
||||
};
|
||||
|
||||
cmakeFlags = optional withGtk "-DBUILD_wireshark_gtk=TRUE -DBUILD_wireshark=OFF";
|
||||
cmakeFlags = [
|
||||
"-DBUILD_wireshark_gtk=${if withGtk then "ON" else "OFF"}"
|
||||
"-DBUILD_wireshark=${if withQt then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
bison cmake extra-cmake-modules flex pkgconfig
|
||||
|
|
Loading…
Reference in New Issue