forked from mirrors/nixpkgs
fcitx-unikey: fix build
This commit is contained in:
parent
1799e14647
commit
1ee49e13e6
|
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ cmake fcitx gettext pkgconfig ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-narrowing";
|
||||
|
||||
preInstall = ''
|
||||
substituteInPlace src/cmake_install.cmake \
|
||||
--replace ${fcitx} $out
|
||||
|
@ -28,4 +30,4 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with maintainers; [ ericsagnes ];
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue