xfce.exo: add support for gtk2, besides gtk3

This commit is contained in:
José Romildo Malaquias 2020-04-16 00:56:21 -03:00
parent a2c97366cd
commit 11188c1746

View file

@ -1,4 +1,4 @@
{ mkXfceDerivation, docbook_xsl, glib, libxslt, perlPackages, gtk3
{ mkXfceDerivation, docbook_xsl, glib, libxslt, perlPackages, gtk2, gtk3
, libxfce4ui, libxfce4util }:
mkXfceDerivation {
@ -8,8 +8,19 @@ mkXfceDerivation {
sha256 = "1db7w6jk3i501x4qw0hs0ydrm1fjdkxmahzbv5iag859wnnlg0pd";
nativeBuildInputs = [ libxslt perlPackages.URI docbook_xsl ];
buildInputs = [ gtk3 glib libxfce4ui libxfce4util ];
nativeBuildInputs = [
libxslt
perlPackages.URI
docbook_xsl
];
buildInputs = [
gtk2 # some xfce plugins still uses gtk2
gtk3
glib
libxfce4ui
libxfce4util
];
# Workaround https://bugzilla.xfce.org/show_bug.cgi?id=15825
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";