Merge pull request #96074 from gebner/qalc-gtk-doc-hack

qalculate-gtk: explain pkg-config issue
This commit is contained in:
Gabriel Ebner 2020-08-23 11:53:32 +02:00 committed by GitHub
commit f84aae6f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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