Merge pull request #215995 from K900/openshot-qt-path

openshot: fix Qt plugin path
This commit is contained in:
Anderson Torres 2023-02-12 16:32:39 -03:00 committed by GitHub
commit 532f202b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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[@]}"