ibus: fix cross compilation
gtk-doc is a native input so we need to use buildPackages here.
This commit is contained in:
parent
e6c0b6ff6f
commit
075e4883e0
|
@ -1,7 +1,8 @@
|
|||
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, gconf, intltool, makeWrapper, pkgconfig
|
||||
, vala, wrapGAppsHook, dbus, dconf ? null, glib, gdk_pixbuf, gobjectIntrospection, gtk2
|
||||
, gtk3, gtk-doc, isocodes, python3, json-glib, libnotify ? null, enablePythonLibrary ? true
|
||||
, enableUI ? true, withWayland ? false, libxkbcommon ? null, wayland ? null }:
|
||||
, enableUI ? true, withWayland ? false, libxkbcommon ? null, wayland ? null
|
||||
, buildPackages }:
|
||||
|
||||
assert withWayland -> wayland != null && libxkbcommon != null;
|
||||
|
||||
|
@ -76,7 +77,7 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace data/dconf/Makefile.am --replace "dconf update" true
|
||||
substituteInPlace configure.ac --replace '$python2dir/ibus' $out/${python3.sitePackages}/ibus
|
||||
echo \#!${stdenv.shell} > data/dconf/make-dconf-override-db.sh
|
||||
cp ${gtk-doc}/share/gtk-doc/data/gtk-doc.make .
|
||||
cp ${buildPackages.gtk-doc}/share/gtk-doc/data/gtk-doc.make .
|
||||
'';
|
||||
|
||||
preAutoreconf = "touch ChangeLog";
|
||||
|
|
Loading…
Reference in New Issue