texworks: add qtwayland as dependency

Signed-off-by: Yǔchēn Guō 郭宇琛 <yguo@posteo.net>
This commit is contained in:
Yǔchēn Guō 郭宇琛 2023-11-14 11:49:01 +01:00
parent c388d07c1a
commit a5934c1de6

View File

@ -8,6 +8,7 @@
, poppler
, qt5compat
, qttools
, qtwayland
, withLua ? true, lua
, withPython ? true, python3 }:
@ -36,7 +37,8 @@ stdenv.mkDerivation rec {
qt5compat
qttools
] ++ lib.optional withLua lua
++ lib.optional withPython python3;
++ lib.optional withPython python3
++ lib.optional stdenv.isLinux qtwayland;
cmakeFlags = [
"-DQT_DEFAULT_MAJOR_VERSION=6"