openshot: fix Qt plugin path

We're very much not on 5.12 anymore.
This commit is contained in:
K900
2023-02-12 17:12:57 +03:00
committed by Florian Brandes
parent b383779a7a
commit c21e689730

View File

@@ -7,6 +7,7 @@
, gtk3 , gtk3
, libopenshot , libopenshot
, python3 , python3
, qtbase
, qtsvg , qtsvg
, wrapGAppsHook , wrapGAppsHook
}: }:
@@ -55,7 +56,7 @@ mkDerivationWith python3.pkgs.buildPythonApplication rec {
'' ''
# Fix toolbar icons on Darwin # Fix toolbar icons on Darwin
+ lib.optionalString stdenv.isDarwin '' + lib.optionalString stdenv.isDarwin ''
--suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/lib/qt-5.12.7/plugins" \ --suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/${qtbase.qtPluginPrefix}" \
'' + '' '' + ''
"''${gappsWrapperArgs[@]}" \ "''${gappsWrapperArgs[@]}" \
"''${qtWrapperArgs[@]}" "''${qtWrapperArgs[@]}"