fcitx-engines.table-other: fix build for cmake 3.6 (#17721)
This commit is contained in:
parent
eb3e23c49e
commit
4271b6d510
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, fcitx, gettext }:
|
||||
{ stdenv, fetchurl, fetchpatch, cmake, fcitx, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fcitx-table-other-${version}";
|
||||
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ cmake fcitx gettext ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://patch-diff.githubusercontent.com/raw/fcitx/fcitx-table-other/pull/2.diff";
|
||||
sha256 = "1ai2zw4c0k5rr3xjhf4z7kcml9v8hvsbwdshwpmz2ybly2ncf5y7";
|
||||
})
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
substituteInPlace tables/cmake_install.cmake \
|
||||
--replace ${fcitx} $out
|
||||
|
Loading…
Reference in New Issue
Block a user