Unverified Commit e7d2400c authored by ppenguin's avatar ppenguin
Browse files

maestral-qt: fix qt6 usage and crash on wayland

parent d67818b5
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
{ lib
, fetchFromGitHub
, python3
, qt6
, qtbase
, qtsvg
, qtwayland
, nixosTests
, wrapQtAppsHook
}:

python3.pkgs.buildPythonApplication rec {
@@ -28,12 +31,13 @@ python3.pkgs.buildPythonApplication rec {
  ];

  buildInputs = [
    qt6.qtbase
    qt6.qtsvg  # Needed for the systray icon
    qtwayland
    qtbase
    qtsvg  # Needed for the systray icon
  ];

  nativeBuildInputs = [
    qt6.wrapQtAppsHook
    wrapQtAppsHook
  ];

  dontWrapQtApps = true;
+1 −1
Original line number Diff line number Diff line
@@ -35386,7 +35386,7 @@ with pkgs;
  maestral = with python3Packages; toPythonApplication maestral;
  maestral-gui = libsForQt5.callPackage ../applications/networking/maestral-qt { };
  maestral-gui = qt6.callPackage ../applications/networking/maestral-qt { };
  maestro = callPackage ../development/mobile/maestro { };