1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

fcitx-configtool: add icon theme, fixes #11895

This commit is contained in:
Pascal Wittmann 2016-01-03 20:32:59 +01:00
parent fa51f98133
commit 1799d134ba

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, cmake, fcitx, gtk3, isocodes }:
{ stdenv, fetchurl, makeWrapper, pkgconfig, cmake, fcitx, gtk3, isocodes, gnome3 }:
stdenv.mkDerivation rec {
name = "fcitx-configtool-0.4.8";
@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
sha256 = "1vaim0namw58bfafbvws1vgd4010p19zwqfbx6bd1zi5sgchdg0f";
};
buildInputs = [ fcitx cmake isocodes pkgconfig gtk3 ];
buildInputs = [ makeWrapper fcitx cmake isocodes pkgconfig gtk3
gnome3.defaultIconTheme ];
preFixup = ''
wrapProgram $out/bin/fcitx-config-gtk3 \
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS";
'';
}