mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
fcitx5-qt: fix missing libfcitx5platforminputcontextplugin.so
This commit is contained in:
parent
e0604b3abe
commit
9509da46e7
@ -7,6 +7,7 @@
|
|||||||
, qtx11extras
|
, qtx11extras
|
||||||
, libxcb
|
, libxcb
|
||||||
, libXdmcp
|
, libXdmcp
|
||||||
|
, qtbase
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
@ -20,8 +21,14 @@ mkDerivation rec {
|
|||||||
sha256 = "BVOumk2xj3vmwmm4KwiktQhWyTuUA2OFwYXNR6HgwyM=";
|
sha256 = "BVOumk2xj3vmwmm4KwiktQhWyTuUA2OFwYXNR6HgwyM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
substituteInPlace qt5/platforminputcontext/CMakeLists.txt \
|
||||||
|
--replace \$"{CMAKE_INSTALL_QT5PLUGINDIR}" $out/${qtbase.qtPluginPrefix}
|
||||||
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DENABLE_QT4=0"
|
"-DENABLE_QT4=0"
|
||||||
|
"-DENABLE_QT6=0"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -34,6 +41,7 @@ mkDerivation rec {
|
|||||||
qtx11extras
|
qtx11extras
|
||||||
libxcb
|
libxcb
|
||||||
libXdmcp
|
libXdmcp
|
||||||
|
qtbase
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user