Merge pull request #267427 from ne9z/texworks-wayland

texworks: add qtwayland as dependency
This commit is contained in:
Nick Cao 2023-11-14 11:43:34 -05:00 committed by GitHub
commit 6e199d8e01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"