mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
gnome3.dconf: fix build
This commit is contained in:
parent
8db273f330
commit
65e147c2fb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user