From f17b65371b7db1c3d0a2b5dac6fab1957883c811 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 1 Jun 2019 15:03:42 +0200 Subject: [PATCH] ibus: Disable python library by default It is a Python 2 library that we install to Python 3 prefix. Even if it were used by anything it would not work. --- pkgs/tools/inputmethods/ibus/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/inputmethods/ibus/default.nix b/pkgs/tools/inputmethods/ibus/default.nix index f1a364f9096..cb42d959d12 100644 --- a/pkgs/tools/inputmethods/ibus/default.nix +++ b/pkgs/tools/inputmethods/ibus/default.nix @@ -1,6 +1,6 @@ { stdenv, substituteAll, fetchurl, runCommand, fetchFromGitHub, autoreconfHook, gettext, makeWrapper, pkgconfig , vala, wrapGAppsHook, dbus, dconf ? null, glib, gdk_pixbuf, gobject-introspection, gtk2 -, gtk3, gtk-doc, isocodes, python3, json-glib, libnotify ? null, enablePythonLibrary ? true +, gtk3, gtk-doc, isocodes, python3, json-glib, libnotify ? null, enablePython2Library ? false , enableUI ? true, withWayland ? false, libxkbcommon ? null, wayland ? null , buildPackages, runtimeShell }: @@ -110,7 +110,8 @@ stdenv.mkDerivation rec { (enableFeature (dconf != null) "dconf") (enableFeature (libnotify != null) "libnotify") (enableFeature withWayland "wayland") - (enableFeature enablePythonLibrary "python-library") + (enableFeature enablePython2Library "python-library") + (enableFeature enablePython2Library "python2") # XXX: python2 library does not work anyway (enableFeature enableUI "ui") "--with-unicode-emoji-dir=${emojiData}" "--with-emoji-annotation-dir=${cldrEmojiAnnotation}/share/unicode/cldr/common/annotations"