aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-06-01 15:03:42 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-06-01 15:14:09 +0200
commitf17b65371b7db1c3d0a2b5dac6fab1957883c811 (patch)
treeeb4f356316ebf3087a82528d93b81965a41de650 /pkgs/tools/inputmethods
parentaefb8fbc692e8e0592dcf6c6f2ec571b9bc31c67 (diff)
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.
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/ibus/default.nix5
1 files 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"