ibus-engines: use wrapPythonPrograms
This is needed now that PYTHONPATH is not propagated. Also several packages with additional dependencies are now properly wrapped.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||
, intltool, pkgconfig, sqlite, libpinyin, db
|
||||
, ibus, glib, gtk3, python3, pygobject3
|
||||
, ibus, glib, gtk3, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -15,12 +15,14 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ ibus glib sqlite libpinyin python3 gtk3 db ];
|
||||
nativeBuildInputs = [ autoreconfHook intltool pkgconfig ];
|
||||
nativeBuildInputs = [ autoreconfHook intltool pkgconfig python3.pkgs.wrapPython ];
|
||||
|
||||
postAutoreconf = ''
|
||||
intltoolize
|
||||
'';
|
||||
|
||||
postFixup = "wrapPythonPrograms";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
isIbusEngine = true;
|
||||
description = "IBus interface to the libpinyin input method";
|
||||
|
||||
Reference in New Issue
Block a user