wireshark: set mainProgram
It'd try to run wireshark-qt or wireshark-cli otherwise.
This commit is contained in:
parent
0e91b031f6
commit
cc73a46e9a
|
@ -104,5 +104,6 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
maintainers = with maintainers; [ bjornfor fpletz ];
|
maintainers = with maintainers; [ bjornfor fpletz ];
|
||||||
|
mainProgram = if withQt then "wireshark" else "tshark";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue