Unverified Commit add1ab8f authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

vivaldi: fix could not find the Qt platform plugin xcb/wayland (#406915)

parents 81b29eca 60e60c3f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ stdenv.mkDerivation rec {
  nativeBuildInputs = [
    patchelf
    makeWrapper
    qt5.wrapQtAppsHook
  ];

  dontWrapQtApps = true;
@@ -137,6 +138,7 @@ stdenv.mkDerivation rec {
      systemd
      libva
      qt5.qtbase
      qt5.qtwayland
      freetype
      fontconfig
      libXrender
@@ -219,6 +221,7 @@ stdenv.mkDerivation rec {
        --set-default FONTCONFIG_PATH "${fontconfig.out}/etc/fonts" \
        --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/ \
        --prefix PATH : ${coreutils}/bin \
        ''${qtWrapperArgs[@]} \
        ${lib.optionalString enableWidevine "--suffix LD_LIBRARY_PATH : ${libPath}"}
    ''
    + lib.optionalString enableWidevine ''