Unverified Commit ff73ec1d authored by Valentin Boettcher's avatar Valentin Boettcher
Browse files

mathematica: enable wayland support

parent a9b47d85
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -125,8 +125,9 @@ in stdenv.mkDerivation {
    "--set USE_WOLFRAM_LD_LIBRARY_PATH 1"
    # Fix xkeyboard config path for Qt
    "--set QT_XKB_CONFIG_ROOT ${xkeyboard_config}/share/X11/xkb"
    # wayland isn't supported
    "--set QT_QPA_PLATFORM xcb"
    # if wayland isn't supported we fail over to xcb
    # see https://github.com/qt/qtbase/blob/35d0f012ee9b95e8cf3563a41d710ff3c023d841/src/gui/kernel/qguiapplication.cpp#L1218
    "--set QT_QPA_PLATFORM wayland;xcb"
  ] ++ lib.optionals cudaSupport [
    "--set CUDA_PATH ${cudaEnv}"
    "--set NVIDIA_DRIVER_LIBRARY_PATH ${addOpenGLRunpath.driverLink}/lib/libnvidia-tls.so"