about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-08-10 18:24:25 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-08-10 18:25:34 +0200
commit16fa6be4b82aeec80b50170928c1189f77b82670 (patch)
tree1dd603a706bd74de215c5421a441de131a14000b /pkgs/applications/networking/instant-messengers
parentdda3e97ecfa3f3f85342646db6db8976d3c317e4 (diff)
ekiga: fix starting bin/ekiga (gschemas)
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r--pkgs/applications/networking/instant-messengers/ekiga/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/ekiga/default.nix b/pkgs/applications/networking/instant-messengers/ekiga/default.nix
index 0dec7a4cd112c..07730a8c0ee14 100644
--- a/pkgs/applications/networking/instant-messengers/ekiga/default.nix
+++ b/pkgs/applications/networking/instant-messengers/ekiga/default.nix
@@ -2,7 +2,7 @@
 , perl, perlXMLParser, evolution_data_server, gnome_doc_utils, avahi, autoreconfHook
 , libsigcxx, gtk, dbus_glib, libnotify, libXext, xextproto, gnome3, boost, libsecret
 , pkgconfig, libxml2, videoproto, unixODBC, db, nspr, nss, zlib, hicolor_icon_theme
-, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle, sqlite }:
+, libXrandr, randrproto, which, libxslt, libtasn1, gmp, nettle, sqlite, makeWrapper }:
 
 stdenv.mkDerivation rec {
   name = "ekiga-4.0.1";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
                   gnome3.libsoup
                   hicolor_icon_theme gnome3.gnome_icon_theme boost autoreconfHook
                   pkgconfig libxml2 videoproto unixODBC db nspr nss zlib libsecret
-                  libXrandr randrproto which libxslt libtasn1 gmp nettle ];
+                  libXrandr randrproto which libxslt libtasn1 gmp nettle makeWrapper ];
 
   preAutoreconf = ''
     substituteInPlace configure.ac --replace AM_GCONF_SOURCE_2 ""
@@ -35,6 +35,11 @@ stdenv.mkDerivation rec {
 
   patches = [ ./autofoo.patch ./boost.patch ];
 
+  postInstall = ''
+    wrapProgram "$out"/bin/ekiga \
+      --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
+  '';
+
   meta = with stdenv.lib; {
     description = "Ekiga SIP client";
     maintainers = [ maintainers.raskin ];