diff options
author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2016-10-01 13:12:56 +0200 |
---|---|---|
committer | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2016-10-01 13:15:14 +0200 |
commit | 5e9c72c2e4635057c315a64c7de97a4d22f4cd3f (patch) | |
tree | 7459326e1a7b3bad25771ac3046a66fa379a7946 /pkgs/applications/misc/udiskie/default.nix | |
parent | 5d395a73b3228723b380e1240ec33cb243743e98 (diff) | |
download | nixpkgs-5e9c72c2e4635057c315a64c7de97a4d22f4cd3f.tar nixpkgs-5e9c72c2e4635057c315a64c7de97a4d22f4cd3f.tar.gz nixpkgs-5e9c72c2e4635057c315a64c7de97a4d22f4cd3f.tar.bz2 nixpkgs-5e9c72c2e4635057c315a64c7de97a4d22f4cd3f.tar.lz nixpkgs-5e9c72c2e4635057c315a64c7de97a4d22f4cd3f.tar.xz nixpkgs-5e9c72c2e4635057c315a64c7de97a4d22f4cd3f.tar.zst nixpkgs-5e9c72c2e4635057c315a64c7de97a4d22f4cd3f.zip |
udiskie: fix broken icons
Udiskie uses SVG icons for its tray icon. In order to load these, librsvg needs to be included in the $GDK_PIXBUF_MODULE_FILE(loaders.cache). Without librsvg, gdk does not support SVG images so the icons won't be used. If we add librsvg to buildInputs, the wrapGAppsHook will make sure that the librsvg is included in the $GDK_PIXBUF_MODULE_FILE.
Diffstat (limited to 'pkgs/applications/misc/udiskie/default.nix')
-rw-r--r-- | pkgs/applications/misc/udiskie/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/misc/udiskie/default.nix b/pkgs/applications/misc/udiskie/default.nix index 042401a727e..6a326dba39c 100644 --- a/pkgs/applications/misc/udiskie/default.nix +++ b/pkgs/applications/misc/udiskie/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, asciidoc-full, gettext -, gobjectIntrospection, gtk3, hicolor_icon_theme, libnotify +, gobjectIntrospection, gtk3, hicolor_icon_theme, libnotify, librsvg , pythonPackages, udisks2, wrapGAppsHook }: pythonPackages.buildPythonApplication rec { @@ -17,6 +17,7 @@ pythonPackages.buildPythonApplication rec { asciidoc-full # For building man page. hicolor_icon_theme wrapGAppsHook + librsvg # required for loading svg icons (udiskie uses svg icons) ]; propagatedBuildInputs = [ |