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,5 +1,5 @@
|
||||
{ stdenv, fetchurl, intltool, pkgconfig
|
||||
, anthy, ibus, glib, gobjectIntrospection, gtk3, python3, pygobject3
|
||||
, anthy, ibus, glib, gobjectIntrospection, gtk3, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -15,15 +15,16 @@ stdenv.mkDerivation rec {
|
||||
maintainers = with maintainers; [ gebner ericsagnes ];
|
||||
};
|
||||
|
||||
configureFlags = "--with-anthy-zipcode=${anthy}/share/anthy/zipcode.t";
|
||||
configureFlags = [ "--with-anthy-zipcode=${anthy}/share/anthy/zipcode.t" ];
|
||||
|
||||
buildInputs = [
|
||||
anthy glib gobjectIntrospection gtk3 ibus python3 pygobject3
|
||||
anthy glib gobjectIntrospection gtk3 ibus python3
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ intltool pkgconfig ];
|
||||
nativeBuildInputs = [ intltool pkgconfig python3.pkgs.wrapPython ];
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonPrograms
|
||||
substituteInPlace $out/share/ibus/component/anthy.xml --replace \$\{exec_prefix\} $out
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user