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
parent 8c619a1f3c
commit 543f7fab95

View File

@ -7,6 +7,7 @@
, gtk3
, libopenshot
, python3
, qtbase
, qtsvg
, wrapGAppsHook
}:
@ -55,7 +56,7 @@ mkDerivationWith python3.pkgs.buildPythonApplication rec {
''
# Fix toolbar icons on Darwin
+ 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[@]}" \
"''${qtWrapperArgs[@]}"