From e7f5263456dc8e14112ffc86033d0849fc3f0d0f Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Fri, 3 Oct 2014 14:54:08 -0300 Subject: [PATCH] Batti: adjusting icon paths --- pkgs/applications/misc/batti/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/misc/batti/default.nix b/pkgs/applications/misc/batti/default.nix index 0cd8009dbe6..9bf481189e3 100644 --- a/pkgs/applications/misc/batti/default.nix +++ b/pkgs/applications/misc/batti/default.nix @@ -1,7 +1,8 @@ { stdenv, fetchurl -, pkgconfig, makeWrapper, gettext, python +, pkgconfig, gettext, python , gtk, pygtk, dbus_python -, upower }: +, gdk_pixbuf, upower +, makeWrapper }: stdenv.mkDerivation rec { @@ -14,7 +15,7 @@ stdenv.mkDerivation rec { }; buildInputs = with stdenv.lib; - [ pkgconfig makeWrapper gettext python gtk pygtk dbus_python upower ]; + [ pkgconfig gettext python gtk pygtk dbus_python gdk_pixbuf upower makeWrapper ]; configurePhase = "true"; @@ -24,7 +25,10 @@ stdenv.mkDerivation rec { installPhase = '' python setup.py install --prefix $out - wrapProgram $out/bin/batti --set PYTHONPATH "$PYTHONPATH:$(toPythonPath $out)" + wrapProgram "$out/bin/batti" \ + --set PYTHONPATH "$PYTHONPATH:$(toPythonPath $out)" \ + --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \ + --prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" '';