diff options
Diffstat (limited to 'pkgs/tools/inputmethods/fcitx5/default.nix')
-rw-r--r-- | pkgs/tools/inputmethods/fcitx5/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx5/default.nix b/pkgs/tools/inputmethods/fcitx5/default.nix index 8dd13bbd1674e..01167b4d007ae 100644 --- a/pkgs/tools/inputmethods/fcitx5/default.nix +++ b/pkgs/tools/inputmethods/fcitx5/default.nix @@ -2,6 +2,7 @@ , stdenv , fetchurl , fetchFromGitHub +, fetchpatch , pkg-config , cmake , extra-cmake-modules @@ -51,6 +52,14 @@ stdenv.mkDerivation rec { hash = "sha256-zS25XeNtBN7QIi+Re/p1uLoH/Q4xKAsFrEmgk2LYRu8="; }; + patches = [ + # Fix compatiblity with fmt 10.0. Remove with the next release + (fetchpatch { + url = "https://github.com/fcitx/fcitx5/commit/7fb3a5500270877d93b61b11b2a17b9b8f6a506b.patch"; + hash = "sha256-Z4Sqdyp/doJPTB+hEUrG9vncUP29L/b0yJ/u5ldpnds="; + }) + ]; + prePatch = '' ln -s ${enDict} src/modules/spell/$(stripHash ${enDict}) ''; |