gnome3.dconf: fix build

This commit is contained in:
Jan Tojnar 2018-03-13 03:25:13 +01:00
parent 8db273f330
commit 65e147c2fb
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, vala, libxslt, pkgconfig, glib, dbus-glib, gnome3
, libxml2, intltool, docbook_xsl_ns, docbook_xsl, makeWrapper }:
{ stdenv, fetchurl, meson, ninja, python3, vala, libxslt, pkgconfig, glib, dbus-glib, gnome3
, libxml2, docbook_xsl, makeWrapper }:
let
pname = "dconf";
@ -13,16 +13,16 @@ stdenv.mkDerivation rec {
sha256 = "0hn7v6769xabqz7kvyb2hfm19h46z1whkair7ff752zmbs3b7lv1";
};
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';
outputs = [ "out" "lib" "dev" ];
nativeBuildInputs = [ vala pkgconfig intltool libxslt libxml2 docbook_xsl docbook_xsl_ns makeWrapper ];
nativeBuildInputs = [ meson ninja vala pkgconfig python3 libxslt libxml2 docbook_xsl ];
buildInputs = [ glib dbus-glib ];
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace client/Makefile \
--replace "-soname=libdconf.so.1" "-install_name,libdconf.so.1"
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;