mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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.
This commit is contained in:
parent
5d395a73b3
commit
5e9c72c2e4
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub, asciidoc-full, gettext
|
{ stdenv, fetchFromGitHub, asciidoc-full, gettext
|
||||||
, gobjectIntrospection, gtk3, hicolor_icon_theme, libnotify
|
, gobjectIntrospection, gtk3, hicolor_icon_theme, libnotify, librsvg
|
||||||
, pythonPackages, udisks2, wrapGAppsHook }:
|
, pythonPackages, udisks2, wrapGAppsHook }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
|
@ -17,6 +17,7 @@ pythonPackages.buildPythonApplication rec {
|
||||||
asciidoc-full # For building man page.
|
asciidoc-full # For building man page.
|
||||||
hicolor_icon_theme
|
hicolor_icon_theme
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
|
librsvg # required for loading svg icons (udiskie uses svg icons)
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue