summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/pidgin
diff options
context:
space:
mode:
authorChristoph Hrdinka <c.github@hrdinka.at>2016-03-07 00:08:46 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-03-07 07:03:49 +0100
commitd3e3b135eae02727e9d58e32cb785748cdcdfd24 (patch)
treea659568c4b64ce7784a75511b438835d982a6e1a /pkgs/applications/networking/instant-messengers/pidgin
parentc686f03305334b247d8fb742fa98ab559f661b6e (diff)
downloadnixpkgs-d3e3b135eae02727e9d58e32cb785748cdcdfd24.tar
nixpkgs-d3e3b135eae02727e9d58e32cb785748cdcdfd24.tar.gz
nixpkgs-d3e3b135eae02727e9d58e32cb785748cdcdfd24.tar.bz2
nixpkgs-d3e3b135eae02727e9d58e32cb785748cdcdfd24.tar.lz
nixpkgs-d3e3b135eae02727e9d58e32cb785748cdcdfd24.tar.xz
nixpkgs-d3e3b135eae02727e9d58e32cb785748cdcdfd24.tar.zst
nixpkgs-d3e3b135eae02727e9d58e32cb785748cdcdfd24.zip
pidgin: fix gstreamer plugin path
Closes #13722, fixes #13719 and maybe #10556.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pidgin')
-rw-r--r--pkgs/applications/networking/instant-messengers/pidgin/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/default.nix
index 5e8f266930f..7e9e41ea0bf 100644
--- a/pkgs/applications/networking/instant-messengers/pidgin/default.nix
+++ b/pkgs/applications/networking/instant-messengers/pidgin/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchurl, pkgconfig, gtk, gtkspell, aspell
-, gstreamer, gst_plugins_base, startupnotification, gettext
+{ stdenv, fetchurl, makeWrapper, pkgconfig, gtk, gtkspell, aspell
+, gstreamer, gst_plugins_base, gst_plugins_good, startupnotification, gettext
 , perl, perlXMLParser, libxml2, nss, nspr, farsight2
 , libXScrnSaver, ncurses, avahi, dbus, dbus_glib, intltool, libidn
 , lib, python, libICE, libXext, libSM
@@ -22,9 +22,11 @@ stdenv.mkDerivation rec {
 
   inherit nss ncurses;
 
+  nativeBuildInputs = [ makeWrapper ];
+
   buildInputs = [
     gtkspell aspell
-    gstreamer gst_plugins_base startupnotification
+    gstreamer gst_plugins_base gst_plugins_good startupnotification
     libxml2 nss nspr farsight2
     libXScrnSaver ncurses python
     avahi dbus dbus_glib intltool libidn
@@ -54,6 +56,11 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
+  postInstall = ''
+    wrapProgram $out/bin/pidgin \
+      --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
+  '';
+
   meta = with stdenv.lib; {
     description = "Multi-protocol instant messaging client";
     homepage = http://pidgin.im;