qt6.wrapQtAppsHook: add qtwayland to propagatedBuildInputs

qtwayland client side is the wayland platform plugin, provides a way to run Qt applications as Wayland clients
without this, Qt applications only work on x11/xwayland

Co-authored-by: Artturin <Artturin@artturin.com>
This commit is contained in:
rewine
2024-11-07 21:57:16 +02:00
committed by Artturin
co-authored by Artturin
parent a3600c0788
commit ae4fd669e4
+2 -1
View File
@@ -164,10 +164,11 @@ let
qtwebview = callPackage ./modules/qtwebview.nix { };
wrapQtAppsHook = callPackage
({ makeBinaryWrapper }: makeSetupHook
({ makeBinaryWrapper, qtwayland }: makeSetupHook
{
name = "wrap-qt6-apps-hook";
propagatedBuildInputs = [ makeBinaryWrapper ];
depsTargetTargetPropagated = lib.optionals stdenv.isLinux [ qtwayland.out ];
} ./hooks/wrap-qt-apps-hook.sh)
{ };