Undeclared dependency on gio-unix-2.0
I am building evince 3.28.2 on NixOS and getting the following error:
ev-gdbus-generated.c:16:12: fatal error: gio/gunixfdlist.h: No such file or directory
# include <gio/gunixfdlist.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:1380: evince-ev-gdbus-generated.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/evince-3.28.2/shell'
make[2]: *** [Makefile:673: all] Error 2
make[2]: Leaving directory '/build/evince-3.28.2/shell'
make[1]: *** [Makefile:718: all-recursive] Error 1
make[1]: Leaving directory '/build/evince-3.28.2'
make: *** [Makefile:583: all] Error 2
Downstream issue: https://github.com/NixOS/nixpkgs/issues/36468