dconf: supports darwin

This commit is contained in:
Matthew Bauer 2017-04-20 16:40:43 -05:00
parent 32d95b1f04
commit e75fde66e9
No known key found for this signature in database
GPG Key ID: E04D0AD9469141C3

View File

@ -18,8 +18,13 @@ stdenv.mkDerivation rec {
buildInputs = [ vala_0_32 libxslt pkgconfig glib dbus_glib gnome3.gtk libxml2
intltool docbook_xsl docbook_xsl_ns makeWrapper ];
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace client/Makefile \
--replace "-soname=libdconf.so.1" "-install_name,libdconf.so.1"
'';
meta = with stdenv.lib; {
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
maintainers = gnome3.maintainers;
};
}