diff options
author | Gabriel Ebner <gebner@gebner.org> | 2019-08-09 11:16:37 +0200 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2019-08-09 11:17:50 +0200 |
commit | 63ea6e95f792a192bb8220781126438ef39fa743 (patch) | |
tree | a956c0f2bb687a85a55c9eb73654ac0c46a01cf9 /pkgs/tools/inputmethods | |
parent | 52f3c28df2300c60ca015fc39d48c10f09b8c5ef (diff) | |
download | nixlib-63ea6e95f792a192bb8220781126438ef39fa743.tar nixlib-63ea6e95f792a192bb8220781126438ef39fa743.tar.gz nixlib-63ea6e95f792a192bb8220781126438ef39fa743.tar.bz2 nixlib-63ea6e95f792a192bb8220781126438ef39fa743.tar.lz nixlib-63ea6e95f792a192bb8220781126438ef39fa743.tar.xz nixlib-63ea6e95f792a192bb8220781126438ef39fa743.tar.zst nixlib-63ea6e95f792a192bb8220781126438ef39fa743.zip |
fcitx-qt5: fix build
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r-- | pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix b/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix index ad5b46694981..3fd1efcc3434 100644 --- a/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix +++ b/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix @@ -21,15 +21,15 @@ mkDerivation rec { buildInputs = [ fcitx qtbase ]; - preInstall = '' - substituteInPlace platforminputcontext/cmake_install.cmake \ - --replace ${qtbase.bin} $out - substituteInPlace quickphrase-editor/cmake_install.cmake \ - --replace ${fcitx} $out + preConfigure = '' + substituteInPlace platforminputcontext/CMakeLists.txt \ + --replace \$"{CMAKE_INSTALL_QTPLUGINDIR}" $out/${qtbase.qtPluginPrefix} + substituteInPlace quickphrase-editor/CMakeLists.txt \ + --replace \$"{FCITX4_ADDON_INSTALL_DIR}" $out/lib/fcitx ''; meta = with lib; { - homepage = https://gitlab.com/fcitx/fcitx-qt5; + homepage = "https://gitlab.com/fcitx/fcitx-qt5"; description = "Qt5 IM Module for Fcitx"; license = licenses.gpl2; platforms = platforms.linux; |