From e75fde66e9854101eebeed0f6b391f1927cfa3ae Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 20 Apr 2017 16:40:43 -0500 Subject: [PATCH] dconf: supports darwin --- pkgs/desktops/gnome-3/3.22/core/dconf/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/desktops/gnome-3/3.22/core/dconf/default.nix b/pkgs/desktops/gnome-3/3.22/core/dconf/default.nix index f67dc7e32ae0..9200c4180bd2 100644 --- a/pkgs/desktops/gnome-3/3.22/core/dconf/default.nix +++ b/pkgs/desktops/gnome-3/3.22/core/dconf/default.nix @@ -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; }; }