aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/misc/roxterm
diff options
context:
space:
mode:
author(cdep)illabout <cdep.illabout@gmail.com>2014-09-19 21:58:57 +0200
committer(cdep)illabout <cdep.illabout@gmail.com>2014-09-21 15:09:06 +0200
commit2561380af0738be6fe5df15c981cf4846419b09f (patch)
treef866dddf8ed11862b4a5715b0b296311adec3890 /pkgs/applications/misc/roxterm
parent3675926e19f8005e7c513aa30b6c62bd209f45ba (diff)
Fixed error with loading svg in roxterm.
Wrapped the GDK_PIXBUF_MODULE_FILE envvar so that roxterm is able to load svg files.
Diffstat (limited to 'pkgs/applications/misc/roxterm')
-rw-r--r--pkgs/applications/misc/roxterm/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/misc/roxterm/default.nix b/pkgs/applications/misc/roxterm/default.nix
index 723739eede8..25a934d0031 100644
--- a/pkgs/applications/misc/roxterm/default.nix
+++ b/pkgs/applications/misc/roxterm/default.nix
@@ -3,9 +3,10 @@
, imagemagick, itstool, librsvg, libtool, libxslt, lockfile, makeWrapper
, pkgconfig, pythonFull, pythonPackages, vte }:
-# TODO: Still getting following warning:
-# Gtk-WARNING **: Error loading icon from file '/nix/store/36haql12nc3c91jqf0w8nz29zrwxd2gl-roxterm-2.9.4/share/icons/hicolor/scalable/apps/roxterm.svg':
-# Couldn't recognize the image file format for file '/nix/store/36haql12nc3c91jqf0w8nz29zrwxd2gl-roxterm-2.9.4/share/icons/hicolor/scalable/apps/roxterm.svg'
+# TODO: Still getting following warning.
+# WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
+# Seems related to this:
+# https://forums.gentoo.org/viewtopic-t-947210-start-0.html
let version = "2.9.4";
in stdenv.mkDerivation rec {
@@ -44,7 +45,8 @@ in stdenv.mkDerivation rec {
python mscript.py install
wrapProgram "$out/bin/roxterm" \
- --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
+ --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
+ --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';
meta = with stdenv.lib; {