mate.atril: workaround undeclared dependence on gio-unix-2.0

This commit is contained in:
worldofpeace 2019-01-15 18:36:19 -05:00
parent 6ce1348158
commit f9b8f2cf4f

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, hicolor-icon-theme, mate, wrapGAppsHook }: { stdenv, fetchurl, pkgconfig, intltool, gtk3, glib, libxml2, libsecret, poppler, itstool, hicolor-icon-theme, mate, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "atril-${version}"; name = "atril-${version}";
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
gtk3 gtk3
glib
itstool itstool
libsecret libsecret
libxml2 libxml2
@ -25,7 +26,9 @@ stdenv.mkDerivation rec {
mate.mate-desktop mate.mate-desktop
hicolor-icon-theme hicolor-icon-theme
]; ];
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
makeFlags = [ "cajaextensiondir=$$out/lib/caja/extensions-2.0" ]; makeFlags = [ "cajaextensiondir=$$out/lib/caja/extensions-2.0" ];
meta = { meta = {