diff options
author | Potato Hatsue <1793913507@qq.com> | 2021-01-18 00:52:53 +0800 |
---|---|---|
committer | Potato Hatsue <1793913507@qq.com> | 2021-01-19 19:30:03 +0800 |
commit | 9509da46e79015088f7e5724f1c31b348ecdf179 (patch) | |
tree | 29d21f4a0c4034762a650b0998ac79dbc71f8899 /pkgs/tools/inputmethods | |
parent | e0604b3abe969564e850d65753dc27262d8b9f6f (diff) |
fcitx5-qt: fix missing libfcitx5platforminputcontextplugin.so
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r-- | pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix index e049930488993..ad4fd1fa61733 100644 --- a/pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix +++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-qt.nix @@ -7,6 +7,7 @@ , qtx11extras , libxcb , libXdmcp +, qtbase }: mkDerivation rec { @@ -20,8 +21,14 @@ mkDerivation rec { sha256 = "BVOumk2xj3vmwmm4KwiktQhWyTuUA2OFwYXNR6HgwyM="; }; + preConfigure = '' + substituteInPlace qt5/platforminputcontext/CMakeLists.txt \ + --replace \$"{CMAKE_INSTALL_QT5PLUGINDIR}" $out/${qtbase.qtPluginPrefix} + ''; + cmakeFlags = [ "-DENABLE_QT4=0" + "-DENABLE_QT6=0" ]; nativeBuildInputs = [ @@ -34,6 +41,7 @@ mkDerivation rec { qtx11extras libxcb libXdmcp + qtbase ]; meta = with lib; { |