gnome3.gcr: propagate pkg-config dependencies

The pinentry_gnome package requires gcr. Unfortunately, when configure
asks about the library (or `pkg-config --libs gcr-base-3` is used) it
fails because glib is not in scope.

```
$ pkg-config --libs gcr-base-3
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glib-2.0', required by 'gcr-base-3', not found
```

This commit moves glib and gtk to `propagatedBuildInputs` so pkgconfig
could find them.

See also 38b58bab62
This commit is contained in:
Jan Tojnar 2017-07-18 01:44:55 +02:00
parent e78bf2d1e9
commit adbba9d5f6
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -8,11 +8,11 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
buildInputs = [
pkgconfig intltool gnupg glib gobjectIntrospection libxslt
libgcrypt libtasn1 dbus_glib gtk pango gdk_pixbuf atk makeWrapper vala_0_32
pkgconfig intltool gnupg gobjectIntrospection libxslt
libgcrypt libtasn1 dbus_glib pango gdk_pixbuf atk makeWrapper vala_0_32
];
propagatedBuildInputs = [ p11_kit ];
propagatedBuildInputs = [ glib gtk p11_kit ];
#doCheck = true;