From a5934c1de62924a699eefd56ab169d13a7c9a39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C7=94ch=C4=93n=20Gu=C5=8D=20=E9=83=AD=E5=AE=87=E7=90=9B?= Date: Tue, 14 Nov 2023 11:49:01 +0100 Subject: [PATCH] texworks: add qtwayland as dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yǔchēn Guō 郭宇琛 --- pkgs/applications/editors/texworks/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/texworks/default.nix b/pkgs/applications/editors/texworks/default.nix index 72db4262c877..b27ab8bbb69b 100644 --- a/pkgs/applications/editors/texworks/default.nix +++ b/pkgs/applications/editors/texworks/default.nix @@ -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"