qalculate-gtk: explain pkg-config issue

This commit is contained in:
Gabriel Ebner 2020-08-23 11:13:06 +02:00
parent 0d2d55f16b
commit 294ddd8e9f

View File

@ -12,7 +12,11 @@ stdenv.mkDerivation rec {
};
patchPhase = ''
# The gnome-search-provider2.c file generated by gdbus-codegen depends
# on gio-unix-2.0, which is a Requires.private of gtk+-3.0,
# and private dependencies are dropped in our default patched pkg-config.
# https://github.com/Qalculate/qalculate-gtk/pull/178
# https://github.com/NixOS/nixpkgs/issues/292
substituteInPlace configure.ac --replace 'libxml-2.0' 'libxml-2.0 gio-unix-2.0'
# https://github.com/Qalculate/qalculate-gtk/pull/179