summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-07-29 13:51:51 -0700
committerJonathan Ringer <jonringer117@gmail.com>2019-07-29 17:10:20 -0700
commit24f4c62cef93d185dceacf4878cfc47cec8a34ee (patch)
tree4671a31659d1177363d0be09fddbd85efa8ae7c6 /pkgs/tools/inputmethods
parentdbb5044408347e3b69dfdea7ffe29f5f62a650fe (diff)
libsForQt5.fcitx-qt5: fix build
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix b/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix
index b371edb1acee..ad5b46694981 100644
--- a/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix
+++ b/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix
@@ -1,6 +1,12 @@
-{ stdenv, fetchFromGitLab, cmake, fcitx, pkgconfig, qtbase, extra-cmake-modules }:
+{ lib, mkDerivation, fetchFromGitLab
+, cmake
+, extra-cmake-modules
+, fcitx
+, pkgconfig
+, qtbase
+}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "fcitx-qt5";
version = "1.2.3";
@@ -17,12 +23,12 @@ stdenv.mkDerivation rec {
preInstall = ''
substituteInPlace platforminputcontext/cmake_install.cmake \
- --replace ${qtbase.out} $out
+ --replace ${qtbase.bin} $out
substituteInPlace quickphrase-editor/cmake_install.cmake \
--replace ${fcitx} $out
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = https://gitlab.com/fcitx/fcitx-qt5;
description = "Qt5 IM Module for Fcitx";
license = licenses.gpl2;