diff --git a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix index 806ee1fb9f3f..29a0f188516f 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix @@ -2,7 +2,7 @@ , qtbase, qtmultimedia, qtquick1, qtquickcontrols , qtimageformats, qtgraphicaleffects , telegram-qml, libqtelegram-aseman-edition -, gst_plugins_base, gst_plugins_good, gst_plugins_bad, gst_plugins_ugly +, gst_all_1 , makeQtWrapper }: stdenv.mkDerivation rec { @@ -18,13 +18,18 @@ stdenv.mkDerivation rec { [ qtbase qtmultimedia qtquick1 qtquickcontrols qtimageformats qtgraphicaleffects telegram-qml libqtelegram-aseman-edition - gst_plugins_base gst_plugins_good gst_plugins_bad gst_plugins_ugly ]; + ] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ]); + nativeBuildInputs = [ makeQtWrapper ]; + enableParallelBuilding = true; configurePhase = "qmake -r PREFIX=$out"; - fixupPhase = "wrapQtProgram $out/bin/cutegram"; + fixupPhase = '' + wrapQtProgram $out/bin/cutegram \ + --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" + ''; meta = with stdenv.lib; { version = "2.7.1";