19 lines
344 B
Nix
19 lines
344 B
Nix
|
{
|
||
|
fcitx5,
|
||
|
stdenv,
|
||
|
callPackage,
|
||
|
}: let
|
||
|
unicode-data = callPackage ./gen-unicode-data.nix {};
|
||
|
in
|
||
|
stdenv.mkDerivation {
|
||
|
pname = "fcitx5-src";
|
||
|
inherit (fcitx5) version src;
|
||
|
|
||
|
buildPhase = "true";
|
||
|
installPhase = ''
|
||
|
cp -r $src $out
|
||
|
chmod -R +w $out
|
||
|
cp ${unicode-data}/* $out/src/modules/unicode
|
||
|
'';
|
||
|
}
|