From 543f7fab956b1ebb6c2d5090e0612c9b66750650 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 12 Feb 2023 17:12:57 +0300 Subject: [PATCH] openshot: fix Qt plugin path We're very much not on 5.12 anymore. --- pkgs/applications/video/openshot-qt/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/openshot-qt/default.nix b/pkgs/applications/video/openshot-qt/default.nix index 02270cd75e06..ec980f1bfd1b 100644 --- a/pkgs/applications/video/openshot-qt/default.nix +++ b/pkgs/applications/video/openshot-qt/default.nix @@ -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[@]}"