mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Batti: adjusting icon paths
This commit is contained in:
parent
d6b7778753
commit
e7f5263456
1 changed files with 8 additions and 4 deletions
|
@ -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"
|
||||
'';
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue