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 {
name = "atril-${version}";
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [
gtk3
glib
itstool
libsecret
libxml2
@ -26,6 +27,8 @@ stdenv.mkDerivation rec {
hicolor-icon-theme
];
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
makeFlags = [ "cajaextensiondir=$$out/lib/caja/extensions-2.0" ];
meta = {