This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/i18n/fcitx5/patched-source.nix

19 lines
344 B
Nix
Raw Normal View History

2023-06-10 16:13:26 +00:00
{
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
'';
}