Merge pull request #181418 from twitchyliquid64/openscad/fix-wayland

openscad: fix on wayland systems
This commit is contained in:
Artturi 2022-07-14 05:29:35 +03:00 committed by GitHub
commit 756bff3405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,9 @@
, qtmacextras
, qmake
, spacenavSupport ? stdenv.isLinux, libspnav
, wayland
, wayland-protocols
, qtwayland
}:
mkDerivation rec {
@ -45,7 +48,7 @@ mkDerivation rec {
eigen boost glew opencsg cgal mpfr gmp glib
harfbuzz lib3mf libzip double-conversion freetype fontconfig
qtbase qtmultimedia qscintilla
] ++ lib.optionals stdenv.isLinux [ libGLU libGL ]
] ++ lib.optionals stdenv.isLinux [ libGLU libGL wayland wayland-protocols qtwayland ]
++ lib.optional stdenv.isDarwin qtmacextras
++ lib.optional spacenavSupport libspnav
;