Loading nixos/tests/fcitx5/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ enable = true; type = "fcitx5"; fcitx5.addons = [ pkgs.fcitx5-chinese-addons pkgs.qt6Packages.fcitx5-chinese-addons pkgs.fcitx5-hangul pkgs.fcitx5-m17n pkgs.fcitx5-mozc Loading Loading @@ -81,7 +81,7 @@ user = nodes.machine.users.users.alice; xauth = "${user.home}/.Xauthority"; in '' /* python */ '' start_all() machine.wait_for_x() Loading pkgs/tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix +10 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, fetchpatch, fetchFromGitHub, cmake, extra-cmake-modules, Loading Loading @@ -50,6 +51,15 @@ stdenv.mkDerivation rec { fcitx5-lua ]; patches = [ # Without this patch, setting ENABLE_CLOUDPINYIN to off would fail to build (fetchpatch { name = "cloudpinyin-disable-build"; url = "https://github.com/fcitx/fcitx5-chinese-addons/commit/024fff9c8587ca2fb01905e9a25df838e7d99da2.patch"; hash = "sha256-Mo5l8tsn1JQxTFHxOZfQRmbCeWZHLyxfn2Qwv/gQXGA="; }) ]; prePatch = '' ln -s ${pyStroke} modules/pinyinhelper/$(stripHash ${pyStroke}) ln -s ${pyTable} modules/pinyinhelper/$(stripHash ${pyTable}) Loading Loading
nixos/tests/fcitx5/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ enable = true; type = "fcitx5"; fcitx5.addons = [ pkgs.fcitx5-chinese-addons pkgs.qt6Packages.fcitx5-chinese-addons pkgs.fcitx5-hangul pkgs.fcitx5-m17n pkgs.fcitx5-mozc Loading Loading @@ -81,7 +81,7 @@ user = nodes.machine.users.users.alice; xauth = "${user.home}/.Xauthority"; in '' /* python */ '' start_all() machine.wait_for_x() Loading
pkgs/tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix +10 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, fetchpatch, fetchFromGitHub, cmake, extra-cmake-modules, Loading Loading @@ -50,6 +51,15 @@ stdenv.mkDerivation rec { fcitx5-lua ]; patches = [ # Without this patch, setting ENABLE_CLOUDPINYIN to off would fail to build (fetchpatch { name = "cloudpinyin-disable-build"; url = "https://github.com/fcitx/fcitx5-chinese-addons/commit/024fff9c8587ca2fb01905e9a25df838e7d99da2.patch"; hash = "sha256-Mo5l8tsn1JQxTFHxOZfQRmbCeWZHLyxfn2Qwv/gQXGA="; }) ]; prePatch = '' ln -s ${pyStroke} modules/pinyinhelper/$(stripHash ${pyStroke}) ln -s ${pyTable} modules/pinyinhelper/$(stripHash ${pyTable}) Loading