|
|
|
@ -37,9 +37,11 @@ in
|
|
|
|
|
# $ vim nicola.sty
|
|
|
|
|
# $ diff $source nicola.sty > nicola.patch
|
|
|
|
|
home.activation.nicola = let
|
|
|
|
|
target = ".local/share/fcitx5/anthy/nicola.sty";
|
|
|
|
|
targetDir = ".local/share/fcitx5/anthy/";
|
|
|
|
|
target = "nicola.sty";
|
|
|
|
|
in lib.hm.dag.entryAfter["writeBoundary"] ''
|
|
|
|
|
mkdir -p ${targetDir}
|
|
|
|
|
rm -f -- ${target}
|
|
|
|
|
patch -ruN ${pkgs.fcitx5-anthy}/share/fcitx5/anthy/nicola-j.sty ${./nicola.patch} -o ${target}
|
|
|
|
|
patch -ruN ${pkgs.fcitx5-anthy}/share/fcitx5/anthy/nicola-j.sty ${./nicola.patch} -o ${targetDir}${target}
|
|
|
|
|
'';
|
|
|
|
|
}
|
|
|
|
|