@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 categories = "Application;Network;WebBrowser;";
1818 };
1919
20− buildInputs = [makeWrapper];
20+ buildInputs = [makeWrapper] ++ gst_plugins;
2121
2222 buildCommand = ''
2323 if [ ! -x "${browser}/bin/${browserName}" ]
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
3232 --suffix-each LD_LIBRARY_PATH ':' "$libs" \
3333 --suffix-each GTK_PATH ':' "$gtk_modules" \
3434 --suffix-each LD_PRELOAD ':' "$(cat $(filterExisting $(addSuffix /extra-ld-preload $plugins)))" \
35− --suffix-each GST_PLUGIN_PATH ':' "$gst_plugins" \
35+ --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" \
3636 --prefix-contents PATH ':' "$(filterExisting $(addSuffix /extra-bin-path $plugins))"
3737
3838 mkdir -p $out/share/applications
@@ -49,7 +49,6 @@ stdenv.mkDerivation {
4949 # where to find the plugin in its tree.
5050 plugins = map (x: x + x.mozillaPlugin) plugins;
5151 libs = map (x: x + "/lib") libs ++ map (x: x + "/lib64") libs;
52− gst_plugins = map (x: x + "/lib/gstreamer-0.10") gst_plugins;
5352 gtk_modules = map (x: x + x.gtkModule) gtk_modules;
5453
5554 meta = {