diff options
author | Averell Dalton <averell+nixpkgs@rxd4.com> | 2019-09-01 02:53:52 +0200 |
---|---|---|
committer | Averell Dalton <averell+nixpkgs@rxd4.com> | 2019-09-01 02:53:52 +0200 |
commit | c055ac14a507fed407eb0361e13e0cc332d80ebe (patch) | |
tree | a6017477fa0129bf171426f9bcac3de3de5adcfb /pkgs/tools/inputmethods/fcitx/unwrapped.nix | |
parent | 19c18e104b14f3203a419c5ea3159e615e312c58 (diff) | |
download | nixpkgs-c055ac14a507fed407eb0361e13e0cc332d80ebe.tar nixpkgs-c055ac14a507fed407eb0361e13e0cc332d80ebe.tar.gz nixpkgs-c055ac14a507fed407eb0361e13e0cc332d80ebe.tar.bz2 nixpkgs-c055ac14a507fed407eb0361e13e0cc332d80ebe.tar.lz nixpkgs-c055ac14a507fed407eb0361e13e0cc332d80ebe.tar.xz nixpkgs-c055ac14a507fed407eb0361e13e0cc332d80ebe.tar.zst nixpkgs-c055ac14a507fed407eb0361e13e0cc332d80ebe.zip |
fcitx: use enchant2
Diffstat (limited to 'pkgs/tools/inputmethods/fcitx/unwrapped.nix')
-rw-r--r-- | pkgs/tools/inputmethods/fcitx/unwrapped.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/inputmethods/fcitx/unwrapped.nix b/pkgs/tools/inputmethods/fcitx/unwrapped.nix index 34dd3ac3509..636cb518fd2 100644 --- a/pkgs/tools/inputmethods/fcitx/unwrapped.nix +++ b/pkgs/tools/inputmethods/fcitx/unwrapped.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, pkgconfig, cmake, intltool, gettext -, libxml2, enchant1, isocodes, icu, libpthreadstubs +, libxml2, enchant2, isocodes, icu, libpthreadstubs , pango, cairo, libxkbfile, libXau, libXdmcp, libxkbcommon , dbus, gtk2, gtk3, qt4, extra-cmake-modules , xkeyboard_config, pcre, libuuid @@ -59,6 +59,8 @@ stdenv.mkDerivation rec { '' ; + patches = [ ./find-enchant-lib.patch ]; + postPatch = '' substituteInPlace src/frontend/qt/CMakeLists.txt \ --replace $\{QT_PLUGINS_DIR} $out/lib/qt4/plugins @@ -69,7 +71,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake extra-cmake-modules intltool pkgconfig pcre ]; buildInputs = [ - xkeyboard_config enchant1 gettext isocodes icu libpthreadstubs libXau libXdmcp libxkbfile + xkeyboard_config enchant2 gettext isocodes icu libpthreadstubs libXau libXdmcp libxkbfile libxkbcommon libxml2 dbus cairo gtk2 gtk3 pango qt4 libuuid ]; |