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"