mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
fcitx-engines.table-other: fix build
This commit is contained in:
parent
1100490362
commit
eecc63bad9
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, cmake, fcitx, gettext }:
|
{ stdenv, fetchurl, fetchpatch, cmake, fcitx, gettext }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "fcitx-table-other-${version}";
|
name = "fcitx-table-other-${version}";
|
||||||
|
@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ cmake fcitx gettext ];
|
buildInputs = [ cmake fcitx gettext ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch { url = https://sources.debian.net/data/main/f/fcitx-table-other/0.2.3-3/debian/patches/0001-table-other-fix-build.patch;
|
||||||
|
sha256 = "06n1df9szfgfjm5al8r1mvp4cib5h0cm601kwngl6k1vqyyjzg1j";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
substituteInPlace tables/cmake_install.cmake \
|
substituteInPlace tables/cmake_install.cmake \
|
||||||
--replace ${fcitx} $out
|
--replace ${fcitx} $out
|
||||||
|
|
Loading…
Reference in a new issue