mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #100213 from yanganto/hotfix-hime
hime: fix enable hime, remove hime-all package
This commit is contained in:
commit
2a58362f8f
5 changed files with 18 additions and 42 deletions
|
@ -252,8 +252,8 @@ i18n.inputMethod = {
|
|||
<para>
|
||||
Hime is an extremely easy-to-use input method framework. It is lightweight,
|
||||
stable, powerful and supports many commonly used input methods, including
|
||||
Cangjie, Zhuyin, Dayi, Rank, Shrimp, Greek, Japanese Anthy, Korean Pinyin,
|
||||
Latin Alphabet, Rancang hunting birds, cool music, etc...
|
||||
Cangjie, Zhuyin, Dayi, Rank, Shrimp, Greek, Korean Pinyin, Latin Alphabet,
|
||||
etc...
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
|
|
@ -1,23 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
{
|
||||
options = {
|
||||
i18n.inputMethod.hime = {
|
||||
enableChewing = mkOption {
|
||||
type = with types; nullOr bool;
|
||||
default = null;
|
||||
description = "enable chewing input method";
|
||||
};
|
||||
enableAnthy = mkOption {
|
||||
type = with types; nullOr bool;
|
||||
default = null;
|
||||
description = "enable anthy input method";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf (config.i18n.inputMethod.enabled == "hime") {
|
||||
i18n.inputMethod.package = pkgs.hime;
|
||||
environment.variables = {
|
||||
GTK_IM_MODULE = "hime";
|
||||
QT_IM_MODULE = "hime";
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
./hardware/xpadneo.nix
|
||||
./i18n/input-method/default.nix
|
||||
./i18n/input-method/fcitx.nix
|
||||
./i18n/input-method/hime.nix
|
||||
./i18n/input-method/ibus.nix
|
||||
./i18n/input-method/nabi.nix
|
||||
./i18n/input-method/uim.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue