mathematica: set QT_QPA_PLATFORM to xcb (#178991)

This commit is contained in:
Doron Behar 2022-06-25 21:17:44 +03:00 committed by GitHub
parent 53c6ed4643
commit 07328220b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,6 +121,8 @@ in stdenv.mkDerivation {
"--set USE_WOLFRAM_LD_LIBRARY_PATH 1" "--set USE_WOLFRAM_LD_LIBRARY_PATH 1"
# Fix xkeyboard config path for Qt # Fix xkeyboard config path for Qt
"--set QT_XKB_CONFIG_ROOT ${xkeyboard_config}/share/X11/xkb" "--set QT_XKB_CONFIG_ROOT ${xkeyboard_config}/share/X11/xkb"
# wayland isn't supported
"--set QT_QPA_PLATFORM xcb"
] ++ lib.optionals cudaSupport [ ] ++ lib.optionals cudaSupport [
"--set CUDA_PATH ${cudaEnv}" "--set CUDA_PATH ${cudaEnv}"
"--set NVIDIA_DRIVER_LIBRARY_PATH ${addOpenGLRunpath.driverLink}/lib/libnvidia-tls.so" "--set NVIDIA_DRIVER_LIBRARY_PATH ${addOpenGLRunpath.driverLink}/lib/libnvidia-tls.so"